summaryrefslogtreecommitdiff
path: root/nand_spl
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-10-10 17:21:42 -0500
committerJon Loeliger <jdl@freescale.com>2006-10-10 17:21:42 -0500
commitdaaba9859b0b94571dc3e45ad0c26e136426b351 (patch)
tree688c9068794d45f78f9347cb47b7fba55a4b10be /nand_spl
parent1fd5699a4a24f5c1dab1b32f480bace1ebb9fc3e (diff)
parenta3bb7bfc06a9ccb7e2f91ccc54a90ae69177214f (diff)
downloadu-boot-imx-daaba9859b0b94571dc3e45ad0c26e136426b351.zip
u-boot-imx-daaba9859b0b94571dc3e45ad0c26e136426b351.tar.gz
u-boot-imx-daaba9859b0b94571dc3e45ad0c26e136426b351.tar.bz2
Merge branch 'master' of http://www.denx.de/git/u-boot
Diffstat (limited to 'nand_spl')
-rw-r--r--nand_spl/nand_boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nand_spl/nand_boot.c b/nand_spl/nand_boot.c
index 21abb09..a136fb7 100644
--- a/nand_spl/nand_boot.c
+++ b/nand_spl/nand_boot.c
@@ -34,7 +34,7 @@ extern int jump_to_uboot(ulong addr);
static int nand_is_bad_block(struct mtd_info *mtd, int block)
{
- struct nand_chip *this = mtd->priv;
+ struct nand_chip *this = mtd->priv;
int page_addr = block * CFG_NAND_PAGE_COUNT;
/* Begin command latch cycle */
@@ -73,7 +73,7 @@ static int nand_is_bad_block(struct mtd_info *mtd, int block)
static int nand_read_page(struct mtd_info *mtd, int block, int page, uchar *dst)
{
- struct nand_chip *this = mtd->priv;
+ struct nand_chip *this = mtd->priv;
int page_addr = page + block * CFG_NAND_PAGE_COUNT;
int i;