From bd483695f85b2e5b69334661c6626348a4f8e9d6 Mon Sep 17 00:00:00 2001 From: "Ye.Li" Date: Tue, 31 Mar 2015 14:20:28 +0800 Subject: 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 (cherry picked from commit 5ae1cb9d8e7cd7babd1d7ef7f2303664a4e15c26) --- arch/arm/cpu/armv7/mx7/hab.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'arch/arm/cpu/armv7') 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 -- cgit v1.1