From 60c629b836fb6b6ae79e4e0663977056d75de198 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 19 Sep 2016 22:02:46 -0400 Subject: [PATCH] PowerPC: Update last users of CONFIG_ISO_STRING to Kconfig 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 --- board/mpl/pati/Kconfig | 3 +++ board/mpl/pati/pati.h | 1 - board/mpl/pip405/Kconfig | 3 +++ include/configs/PATI.h | 3 --- include/configs/PIP405.h | 6 ------ scripts/config_whitelist.txt | 1 - 6 files changed, 6 insertions(+), 11 deletions(-) diff --git a/board/mpl/pati/Kconfig b/board/mpl/pati/Kconfig index b141da3984..0eeaf7096b 100644 --- a/board/mpl/pati/Kconfig +++ b/board/mpl/pati/Kconfig @@ -9,4 +9,7 @@ config SYS_VENDOR config SYS_CONFIG_NAME default "PATI" +config ISO_STRING + string + default "MEV-10084-001" endif diff --git a/board/mpl/pati/pati.h b/board/mpl/pati/pati.h index 2938056044..93a5918252 100644 --- a/board/mpl/pati/pati.h +++ b/board/mpl/pati/pati.h @@ -203,7 +203,6 @@ #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 diff --git a/board/mpl/pip405/Kconfig b/board/mpl/pip405/Kconfig index f485367410..e7ae6af836 100644 --- a/board/mpl/pip405/Kconfig +++ b/board/mpl/pip405/Kconfig @@ -9,4 +9,7 @@ config SYS_VENDOR config SYS_CONFIG_NAME default "PIP405" +config ISO_STRING + string + default "MEV-10066-001" endif diff --git a/include/configs/PATI.h b/include/configs/PATI.h index 880246e744..ebabdffc31 100644 --- a/include/configs/PATI.h +++ b/include/configs/PATI.h @@ -252,7 +252,4 @@ */ #define CONFIG_SYS_DER 0x00000000 -#define VERSION_TAG "released" -#define CONFIG_ISO_STRING "MEV-10084-001" - #endif /* __CONFIG_H */ diff --git a/include/configs/PIP405.h b/include/configs/PIP405.h index 9ace443451..7d08f0c5d9 100644 --- a/include/configs/PIP405.h +++ b/include/configs/PIP405.h @@ -333,10 +333,4 @@ ************************************************************/ #define CONFIG_BZIP2 1 -/************************************************************ - * Ident - ************************************************************/ -#define VERSION_TAG "released" -#define CONFIG_ISO_STRING "MEV-10066-001" - #endif /* __CONFIG_H */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 090c0a2f4c..cb4516fe6e 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -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 -- 2.30.2