mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
imx: hab: use unified rom section for mx6sx and mx6ul
Add CONFIG_ROM_UNIFIED_SECTIONS for mx6sx and mx6ul target platforms to resolve corresponding HAB_RVT_BASE base address, the RVT table contains pointers to the HAB API functions in ROM code. Signed-off-by: Adrian Alonso <aalonso@freescale.com>
This commit is contained in:
parent
7a7281a91c
commit
a89729c9ca
3 changed files with 6 additions and 1 deletions
|
|
@ -23,10 +23,12 @@ config MX6SL
|
||||||
bool
|
bool
|
||||||
|
|
||||||
config MX6SX
|
config MX6SX
|
||||||
|
select ROM_UNIFIED_SECTIONS
|
||||||
bool
|
bool
|
||||||
|
|
||||||
config MX6UL
|
config MX6UL
|
||||||
select SYS_L2CACHE_OFF
|
select SYS_L2CACHE_OFF
|
||||||
|
select ROM_UNIFIED_SECTIONS
|
||||||
bool
|
bool
|
||||||
|
|
||||||
choice
|
choice
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,5 @@
|
||||||
config IMX_CONFIG
|
config IMX_CONFIG
|
||||||
string
|
string
|
||||||
|
|
||||||
|
config ROM_UNIFIED_SECTIONS
|
||||||
|
bool
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ typedef void hapi_clock_init_t(void);
|
||||||
#define HAB_ENG_RTL 0x77 /* RTL simulation engine */
|
#define HAB_ENG_RTL 0x77 /* RTL simulation engine */
|
||||||
#define HAB_ENG_SW 0xff /* Software engine */
|
#define HAB_ENG_SW 0xff /* Software engine */
|
||||||
|
|
||||||
#ifdef CONFIG_MX6SX
|
#ifdef CONFIG_ROM_UNIFIED_SECTIONS
|
||||||
#define HAB_RVT_BASE 0x00000100
|
#define HAB_RVT_BASE 0x00000100
|
||||||
#else
|
#else
|
||||||
#define HAB_RVT_BASE 0x00000094
|
#define HAB_RVT_BASE 0x00000094
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue