diff options
| author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-08-13 16:34:33 +0200 |
|---|---|---|
| committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-08-13 16:34:33 +0200 |
| commit | 375c2c9e57ea5b8d678475379378f4774aa9cb88 (patch) | |
| tree | c8499eaec089c8fe7c9eda562131f45b4a7738c6 /tools/updater/cmd_flash.c | |
| parent | f0d1246ed7cb5a88522244c596d7ae7e6f161283 (diff) | |
| parent | 9986bc3e40e899bea372a99a2bca4071bdf2e24b (diff) | |
| download | olio-uboot-2014.01-375c2c9e57ea5b8d678475379378f4774aa9cb88.tar.xz olio-uboot-2014.01-375c2c9e57ea5b8d678475379378f4774aa9cb88.zip | |
Merge commit 'upstream/master'
Diffstat (limited to 'tools/updater/cmd_flash.c')
| -rw-r--r-- | tools/updater/cmd_flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/updater/cmd_flash.c b/tools/updater/cmd_flash.c index c0e57729f..a976e0da6 100644 --- a/tools/updater/cmd_flash.c +++ b/tools/updater/cmd_flash.c @@ -28,7 +28,7 @@ #include <command.h> #include <flash.h> -#if (CONFIG_COMMANDS & CFG_CMD_FLASH) +#if defined(CONFIG_CMD_FLASH) extern flash_info_t flash_info[]; /* info for FLASH chips */ @@ -427,4 +427,4 @@ int flash_sect_protect (int p, ulong addr_first, ulong addr_last) return rcode; } -#endif /* CFG_CMD_FLASH */ +#endif |