summaryrefslogtreecommitdiff
path: root/board/mpl
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-09-19 22:02:46 -0400
committerTom Rini <trini@konsulko.com>2016-09-20 09:30:26 -0400
commit60c629b836fb6b6ae79e4e0663977056d75de198 (patch)
tree517b998dffaae9ccd2c4999815ba0e2af0dc6a7b /board/mpl
parentadf32adb706760b1c527d0d4d6b4976b36f19338 (diff)
downloadu-boot-imx-60c629b836fb6b6ae79e4e0663977056d75de198.zip
u-boot-imx-60c629b836fb6b6ae79e4e0663977056d75de198.tar.gz
u-boot-imx-60c629b836fb6b6ae79e4e0663977056d75de198.tar.bz2
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 <trini@konsulko.com>
Diffstat (limited to 'board/mpl')
-rw-r--r--board/mpl/pati/Kconfig3
-rw-r--r--board/mpl/pati/pati.h1
-rw-r--r--board/mpl/pip405/Kconfig3
3 files changed, 6 insertions, 1 deletions
diff --git a/board/mpl/pati/Kconfig b/board/mpl/pati/Kconfig
index b141da3..0eeaf70 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 2938056..93a5918 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 f485367..e7ae6af 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