diff options
author | Wolfgang Denk <wd@denx.de> | 2008-08-14 14:41:06 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-14 14:41:06 +0200 |
commit | 4b0708093e15b412296328bf81325cf9b69fe512 (patch) | |
tree | 3586fc61e3fbac6553d888eb3091fb6064638cbb /include/linux/mtd/nftl.h | |
parent | 28ac6719108e989429de2b3dfa90312ba7c4d27b (diff) | |
download | u-boot-imx-4b0708093e15b412296328bf81325cf9b69fe512.zip u-boot-imx-4b0708093e15b412296328bf81325cf9b69fe512.tar.gz u-boot-imx-4b0708093e15b412296328bf81325cf9b69fe512.tar.bz2 |
Coding Style cleanup, update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/linux/mtd/nftl.h')
-rw-r--r-- | include/linux/mtd/nftl.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/mtd/nftl.h b/include/linux/mtd/nftl.h index 04963a5..6731a16 100644 --- a/include/linux/mtd/nftl.h +++ b/include/linux/mtd/nftl.h @@ -13,10 +13,10 @@ #include <linux/mtd/nftl-user.h> /* these info are used in ReplUnitTable */ -#define BLOCK_NIL 0xffff /* last block of a chain */ -#define BLOCK_FREE 0xfffe /* free block */ +#define BLOCK_NIL 0xffff /* last block of a chain */ +#define BLOCK_FREE 0xfffe /* free block */ #define BLOCK_NOTEXPLORED 0xfffd /* non explored block, only used during mounting */ -#define BLOCK_RESERVED 0xfffc /* bios block or bad block */ +#define BLOCK_RESERVED 0xfffc /* bios block or bad block */ struct NFTLrecord { struct mtd_blktrans_dev mbd; @@ -28,15 +28,15 @@ struct NFTLrecord { unsigned char sectors; unsigned short cylinders; __u16 numvunits; - __u16 lastEUN; /* should be suppressed */ + __u16 lastEUN; /* should be suppressed */ __u16 numfreeEUNs; __u16 LastFreeEUN; /* To speed up finding a free EUN */ int head,sect,cyl; __u16 *EUNtable; /* [numvunits]: First EUN for each virtual unit */ __u16 *ReplUnitTable; /* [numEUNs]: ReplUnitNumber for each */ - unsigned int nb_blocks; /* number of physical blocks */ - unsigned int nb_boot_blocks; /* number of blocks used by the bios */ - struct erase_info instr; + unsigned int nb_blocks; /* number of physical blocks */ + unsigned int nb_boot_blocks; /* number of blocks used by the bios */ + struct erase_info instr; struct nand_ecclayout oobinfo; }; |