summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-06-18 15:58:45 +0800
committerYe.Li <B37916@freescale.com>2014-06-18 16:10:38 +0800
commitaae37d2a29181e98c20058c80769b0f2eb49157f (patch)
tree6f94cb68146b632af00293a6a26052dfbad3a24c /board/freescale
parenta106f8c3feb8172f7ee0cc68be5e17ea0d5684e6 (diff)
downloadu-boot-imx-aae37d2a29181e98c20058c80769b0f2eb49157f.zip
u-boot-imx-aae37d2a29181e98c20058c80769b0f2eb49157f.tar.gz
u-boot-imx-aae37d2a29181e98c20058c80769b0f2eb49157f.tar.bz2
ENGR00319003 iMX6SX:HAB: Fixed build break when enabling secure boot
When enabling "CONFIG_SECURE_BOOT", the build broken on iMX6SX platform due to two problems. 1. The imximage tool in v2014 changes the command name of "SECURE_BOOT" to "CSF". Must update it in imximage.cfg scripts. 2. The iMX6SX uses "CONFIG_ROM_UNIFIED_SECTIONS", but some HAB API definitions are not defined and cause compile errors. (HAB_RVT_REPORT_EVENT_NEW, HAB_RVT_REPORT_STATUS_NEW, HAB_RVT_AUTHENTICATE_IMAGE_NEW, HAB_RVT_ENTRY_NEW, HAB_RVT_EXIT_NEW) Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mx6sx_17x17_arm2/imximage.cfg2
-rw-r--r--board/freescale/mx6sx_19x19_arm2/imximage.cfg2
-rw-r--r--board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg2
-rw-r--r--board/freescale/mx6sxsabresd/imximage.cfg2
4 files changed, 4 insertions, 4 deletions
diff --git a/board/freescale/mx6sx_17x17_arm2/imximage.cfg b/board/freescale/mx6sx_17x17_arm2/imximage.cfg
index 7152fb3..d8bbeb0 100644
--- a/board/freescale/mx6sx_17x17_arm2/imximage.cfg
+++ b/board/freescale/mx6sx_17x17_arm2/imximage.cfg
@@ -33,7 +33,7 @@ PLUGIN board/freescale/mx6sx_17x17_arm2/plugin.bin 0x00907000
#else
#ifdef CONFIG_SECURE_BOOT
-SECURE_BOOT
+CSF 0x2000
#endif
/*
diff --git a/board/freescale/mx6sx_19x19_arm2/imximage.cfg b/board/freescale/mx6sx_19x19_arm2/imximage.cfg
index d070c1b..613a916 100644
--- a/board/freescale/mx6sx_19x19_arm2/imximage.cfg
+++ b/board/freescale/mx6sx_19x19_arm2/imximage.cfg
@@ -35,7 +35,7 @@ PLUGIN board/freescale/mx6sx_19x19_arm2/plugin.bin 0x00907000
#else
#ifdef CONFIG_SECURE_BOOT
-SECURE_BOOT
+CSF 0x2000
#endif
/*
diff --git a/board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg b/board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg
index 3d0deb3..9f5c883 100644
--- a/board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg
+++ b/board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg
@@ -35,7 +35,7 @@ PLUGIN board/freescale/mx6sx_19x19_arm2/plugin.bin 0x00907000
#else
#ifdef CONFIG_SECURE_BOOT
-SECURE_BOOT
+CSF 0x2000
#endif
/*
diff --git a/board/freescale/mx6sxsabresd/imximage.cfg b/board/freescale/mx6sxsabresd/imximage.cfg
index 213766f..df672da 100644
--- a/board/freescale/mx6sxsabresd/imximage.cfg
+++ b/board/freescale/mx6sxsabresd/imximage.cfg
@@ -33,7 +33,7 @@ PLUGIN board/freescale/mx6sxsabresd/plugin.bin 0x00907000
#else
#ifdef CONFIG_SECURE_BOOT
-SECURE_BOOT
+CSF 0x2000
#endif
/*