diff options
author | wdenk <wdenk> | 2003-06-16 23:50:08 (GMT) |
---|---|---|
committer | wdenk <wdenk> | 2003-06-16 23:50:08 (GMT) |
commit | 2abbe0754759f94c79125a2534fbc4be74f416bc (patch) | |
tree | 98c52ea3bade5efef565044ede183d6c2b30629b /common/cmd_flash.c | |
parent | 71f9511803de65a3b98d2f592d418da1d1539f13 (diff) | |
download | u-boot-fsl-qoriq-2abbe0754759f94c79125a2534fbc4be74f416bc.tar.xz |
* Patch by Nicolas Lacressonniere, 11 Jun 2003:
Modifications for Atmel AT91RM9200DK ARM920T based development kit
- Add Atmel DataFlash support for reading and writing.
- Add possibility to boot a Linux from DataFlash with BOOTM command.
- Add Flash detection on Atmel AT91RM9200DK
(between Atmel AT49BV1614 and AT49BV1614A flashes)
- Replace old Ethernet PHY layer functions
- Change link address
* Patch by Frank Smith, 9 Jun 2003:
use CRIT_EXCEPTION for machine check on 4xx
* Patch by Detlev Zundel, 13 Jun 2003:
added implementation of the "carinfo" command in cmd_immap.c
Diffstat (limited to 'common/cmd_flash.c')
-rw-r--r-- | common/cmd_flash.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/cmd_flash.c b/common/cmd_flash.c index 92faf62..efc89dc 100644 --- a/common/cmd_flash.c +++ b/common/cmd_flash.c @@ -29,6 +29,10 @@ #include <cmd_boot.h> #include <flash.h> +#ifdef CONFIG_HAS_DATAFLASH +#include <dataflash.h> +#endif + #if (CONFIG_COMMANDS & CFG_CMD_FLASH) extern flash_info_t flash_info[]; /* info for FLASH chips */ @@ -96,6 +100,10 @@ int do_flinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) { ulong bank; +#ifdef CONFIG_HAS_DATAFLASH + dataflash_print_info(); +#endif + if (argc == 1) { /* print info for all FLASH banks */ for (bank=0; bank <CFG_MAX_FLASH_BANKS; ++bank) { printf ("\nBank # %ld: ", bank+1); |