cmd: nvedit: bring error message in sync with condition under which it appears
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 8 Jun 2017 12:16:14 +0000 (14:16 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 12 Jun 2017 12:38:43 +0000 (08:38 -0400)
The list of symbols listed in the error message for missing Kconfig
symbols is out of sync with the symbols actually tested.
Add the missing symbols and reorder their appearance to be in sync
with the #if statement for easier checking.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
cmd/nvedit.c

index 8f4e6bbe62714f0d78bef1c6c6dc922e9a2cbd43..cd17db6409705a79d6102f45888a96e9770b50c4 100644 (file)
@@ -54,8 +54,8 @@ DECLARE_GLOBAL_DATA_PTR;
        !defined(CONFIG_ENV_IS_IN_REMOTE)       && \
        !defined(CONFIG_ENV_IS_IN_UBI)          && \
        !defined(CONFIG_ENV_IS_NOWHERE)
-# error Define one of CONFIG_ENV_IS_IN_{EEPROM|FLASH|DATAFLASH|ONENAND|\
-SATA|SPI_FLASH|NVRAM|MMC|FAT|EXT4|REMOTE|UBI} or CONFIG_ENV_IS_NOWHERE
+# error Define one of CONFIG_ENV_IS_IN_{EEPROM|FLASH|DATAFLASH|MMC|FAT|EXT4|\
+NAND|NVRAM|ONENAND|SATA|SPI_FLASH|REMOTE|UBI} or CONFIG_ENV_IS_NOWHERE
 #endif
 
 /*