summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-03-31 14:20:28 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 15:05:29 +0800
commitbd483695f85b2e5b69334661c6626348a4f8e9d6 (patch)
tree8ae95df0edcf8f51922b4477db7243aed6b2e7d5 /arch/arm/cpu
parent8567c2824d6293eb0711a5d71860ac8581b02d0b (diff)
downloadu-boot-imx-bd483695f85b2e5b69334661c6626348a4f8e9d6.zip
u-boot-imx-bd483695f85b2e5b69334661c6626348a4f8e9d6.tar.gz
u-boot-imx-bd483695f85b2e5b69334661c6626348a4f8e9d6.tar.bz2
MLK-10513 mx7: HAB: Fix HAB RVT addresses to unified section
Incorrect hab_rvt addresses were used for getting HAB functions. Need to change to addresses in unified section. Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit 5ae1cb9d8e7cd7babd1d7ef7f2303664a4e15c26)
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/mx7/hab.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/cpu/armv7/mx7/hab.c b/arch/arm/cpu/armv7/mx7/hab.c
index 5b36f67..ae9591b 100644
--- a/arch/arm/cpu/armv7/mx7/hab.c
+++ b/arch/arm/cpu/armv7/mx7/hab.c
@@ -13,27 +13,27 @@
/* -------- start of HAB API updates ------------*/
#define hab_rvt_report_event_p \
( \
- ((hab_rvt_report_event_t *)HAB_RVT_REPORT_EVENT_NEW) \
+ ((hab_rvt_report_event_t *)HAB_RVT_REPORT_EVENT) \
)
#define hab_rvt_report_status_p \
( \
- ((hab_rvt_report_status_t *)HAB_RVT_REPORT_STATUS_NEW) \
+ ((hab_rvt_report_status_t *)HAB_RVT_REPORT_STATUS) \
)
#define hab_rvt_authenticate_image_p \
( \
- ((hab_rvt_authenticate_image_t *)HAB_RVT_AUTHENTICATE_IMAGE_NEW) \
+ ((hab_rvt_authenticate_image_t *)HAB_RVT_AUTHENTICATE_IMAGE) \
)
#define hab_rvt_entry_p \
( \
- ((hab_rvt_entry_t *)HAB_RVT_ENTRY_NEW) \
+ ((hab_rvt_entry_t *)HAB_RVT_ENTRY) \
)
#define hab_rvt_exit_p \
( \
- ((hab_rvt_exit_t *)HAB_RVT_EXIT_NEW) \
+ ((hab_rvt_exit_t *)HAB_RVT_EXIT) \
)
#define IVT_SIZE 0x20