summaryrefslogtreecommitdiff
path: root/nand_spl/nand_boot.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@atlas.denx.de>2006-10-09 00:42:01 +0200
committerWolfgang Denk <wd@atlas.denx.de>2006-10-09 00:42:01 +0200
commit511d0c72b82aab9b807efde50fc9e390365f5ca1 (patch)
tree08f47c77d9ce164bf38b937858c9d25344639950 /nand_spl/nand_boot.c
parent8d4ac794365a7abb1be8e050fd1b467b94a21865 (diff)
downloadu-boot-imx-511d0c72b82aab9b807efde50fc9e390365f5ca1.zip
u-boot-imx-511d0c72b82aab9b807efde50fc9e390365f5ca1.tar.gz
u-boot-imx-511d0c72b82aab9b807efde50fc9e390365f5ca1.tar.bz2
Coding style cleanup
Diffstat (limited to 'nand_spl/nand_boot.c')
-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;