PowerPC: Update last users of CONFIG_ISO_STRING to Kconfig
authorTom Rini <trini@konsulko.com>
Tue, 20 Sep 2016 02:02:46 +0000 (22:02 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 20 Sep 2016 13:30:26 +0000 (09:30 -0400)
There are a few boards that use CONFIG_ISO_STRING as part of a sanity
check during firmware update at run time.  Move this string to Kconfig.

Signed-off-by: Tom Rini <trini@konsulko.com>
board/mpl/pati/Kconfig
board/mpl/pati/pati.h
board/mpl/pip405/Kconfig
include/configs/PATI.h
include/configs/PIP405.h
scripts/config_whitelist.txt

index b141da3..0eeaf70 100644 (file)
@@ -9,4 +9,7 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
        default "PATI"
 
+config ISO_STRING
+       string
+       default "MEV-10084-001"
 endif
index 2938056..93a5918 100644 (file)
 
 #if defined(CONFIG_TARGET_MIP405) || defined(CONFIG_TARGET_MIP405T)
 #define PATI_FIRMWARE_START_OFFSET     0x00300000
-#define PATI_ISO_STRING  "MEV-10084-001"
 #endif
 
 #define PATI_ENDIAN_MODE       0x3E
index f485367..e7ae6af 100644 (file)
@@ -9,4 +9,7 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
        default "PIP405"
 
+config ISO_STRING
+       string
+       default "MEV-10066-001"
 endif
index 880246e..ebabdff 100644 (file)
  */
 #define CONFIG_SYS_DER                 0x00000000
 
-#define VERSION_TAG "released"
-#define CONFIG_ISO_STRING "MEV-10084-001"
-
 #endif /* __CONFIG_H */
index 9ace443..7d08f0c 100644 (file)
  ************************************************************/
 #define CONFIG_BZIP2           1
 
-/************************************************************
- * Ident
- ************************************************************/
-#define VERSION_TAG "released"
-#define CONFIG_ISO_STRING "MEV-10066-001"
-
 #endif /* __CONFIG_H */
index 090c0a2..cb4516f 100644 (file)
@@ -1728,7 +1728,6 @@ CONFIG_IRAM_STACK
 CONFIG_IRAM_TOP
 CONFIG_IRDA_BASE
 CONFIG_ISO_PARTITION
-CONFIG_ISO_STRING
 CONFIG_ISP1362_USB
 CONFIG_IS_
 CONFIG_IS_BUILTIN