diff options
author | Wolfgang Denk <wd@denx.de> | 2008-04-08 00:10:17 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-08 00:10:17 +0200 |
commit | 2c78febd114b716714e7ac83c17bac5e30066512 (patch) | |
tree | 2fc53ae7781aca121aefa5e21796eee0c94f5611 /include/configs/M54455EVB.h | |
parent | 34e6cb8d1d9dc8194b2d8cad1cc39273ac58f8d8 (diff) | |
parent | 9b46432fc65ce0f0826b32e4f15c15b33ccb8d42 (diff) | |
download | u-boot-imx-2c78febd114b716714e7ac83c17bac5e30066512.zip u-boot-imx-2c78febd114b716714e7ac83c17bac5e30066512.tar.gz u-boot-imx-2c78febd114b716714e7ac83c17bac5e30066512.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-coldfire
Diffstat (limited to 'include/configs/M54455EVB.h')
-rw-r--r-- | include/configs/M54455EVB.h | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h index 5f55761..f33ccb0 100644 --- a/include/configs/M54455EVB.h +++ b/include/configs/M54455EVB.h @@ -171,6 +171,10 @@ #define CFG_I2C_OFFSET 0x58000 #define CFG_IMMR CFG_MBAR +/* DSPI and Serial Flash */ +#define CONFIG_CF_DSPI +#define CONFIG_SERIAL_FLASH + /* PCI */ #ifdef CONFIG_CMD_PCI #define CONFIG_PCI 1 @@ -309,7 +313,7 @@ #else -# define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */ +# define CFG_MAX_FLASH_BANKS 3 /* max number of memory banks */ # define CFG_ATMEL_REGION 4 # define CFG_ATMEL_TOTALSECT 11 @@ -326,6 +330,28 @@ # define CFG_FLASH_PROTECTION /* "Real" (hardware) sectors protection */ # define CFG_FLASH_CHECKSUM +#ifdef CONFIG_SERIAL_FLASH +# define CFG_FLASH2_BASE 0x01000000 +# define CFG_STM_SECT 32 +# define CFG_STM_SECTSZ 0x10000 + +# undef CFG_FLASH_ERASE_TOUT +# define CFG_FLASH_ERASE_TOUT 20000 + +# define SER_WREN 0x06 +# define SER_WRDI 0x04 +# define SER_RDID 0x9F +# define SER_RDSR 0x05 +# define SER_WRSR 0x01 +# define SER_READ 0x03 +# define SER_F_READ 0x0B +# define SER_PAGE_PROG 0x02 +# define SER_SECT_ERASE 0xD8 +# define SER_BULK_ERASE 0xC7 +# define SER_DEEP_PWRDN 0xB9 +# define SER_RES 0xAB +#endif + #endif /* |