u-boot/arch/arm/mach-imx
Breno Matheus Lima 5760069ae8 mx6sl: hab: Fix pu_irom_mmu_enabled address
According to hab.c code we have to notify the ROM code if the MMU is
enabled or not. This is achieved by setting the "pu_irom_mmu_enabled"
to 0x1.

The current address in hab.c code is wrong for i.MX6SL, according to ROM
map file the correct address is 0x00901c60.

As we are writing in the wrong address the ROM code is not flushing the
caches when needed, and the following HAB event is observed in certain
scenarios:

--------- HAB Event 1 -----------------
event data:
        0xdb 0x00 0x14 0x41 0x33 0x18 0xc0 0x00
        0xca 0x00 0x0c 0x00 0x01 0xc5 0x00 0x00
        0x00 0x00 0x07 0xe4

STS = HAB_FAILURE (0x33)
RSN = HAB_INV_SIGNATURE (0x18)
CTX = HAB_CTX_COMMAND (0xC0)
ENG = HAB_ENG_ANY (0x00)

Update MX6SL_PU_IROM_MMU_EN_VAR to address this issue.

Reported-by: Frank Zhang <frank.zhang@nxp.com>
Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
2019-06-27 14:10:40 +02:00
..
imx8 imx8: cpu: get temperature when print cpu desc 2019-06-11 10:43:00 +02:00
imx8m imx: i.MX8MQ: clear ocotp error bit 2019-04-25 19:16:24 +02:00
mx2 ARM: imx: Fix typo in select option for ZMX25 2019-04-25 19:16:24 +02:00
mx3 Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mx5 CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mx6 ARM: imx: Rename VINING|2000 2019-06-11 10:42:48 +02:00
mx7 u-boot-imx-20190612 2019-06-11 13:41:24 -04:00
mx7ulp SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mxs board/aries: Remove 2018-07-02 15:52:50 -04:00
cache.c CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
cmd_bmode.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cmd_dek.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cmd_hdmidet.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cpu.c u-boot-imx-20190612 2019-06-11 13:41:24 -04:00
ddrmc-vf610-calibration.c ddr: vybrid: Provide code to perform on-boot calibration 2019-02-15 12:16:50 +01:00
ddrmc-vf610-calibration.h ddr: vybrid: Provide code to perform on-boot calibration 2019-02-15 12:16:50 +01:00
ddrmc-vf610.c ddr: vybrid: Add calibration code to memory controler's (DDRMC) setup code 2019-02-15 12:16:50 +01:00
hab.c mx6sl: hab: Fix pu_irom_mmu_enabled address 2019-06-27 14:10:40 +02:00
i2c-mxv7.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
imx_bootaux.c imx: rename mx8m,MX8M to imx8m,IMX8M 2019-01-01 14:12:18 +01:00
init.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
iomux-v3.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig mx7ulp: Add common plugin codes for mx7ulp 2019-06-11 10:42:48 +02:00
lowlevel.S imx: add lowlevel init for ARM64 2019-04-25 19:16:24 +02:00
mac.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile arm, imx, Makefile: fix u-boot-dtb.imx build in CONFIG_MULTI_DTB_FIT case 2019-06-11 10:42:48 +02:00
misc.c imx: Fix potential lmb memory overwritten by stack 2019-01-28 20:35:47 +01:00
mkimage_fit_atf.sh imx: mkimage_fit_atf: introduce BL33_BASE_ADDR 2019-01-28 20:35:47 +01:00
mmc_env.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rdc-sema.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sata.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sip.c imx: sip: add call_imx_sip_ret2 2019-04-25 09:03:15 +02:00
speed.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.c spl: Kconfig: Replace CONFIG_SPL_FAT_SUPPORT with CONFIG_SPL_FS_FAT 2019-02-01 09:12:48 -05:00
spl_sd.cfg SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
syscounter.c Merged imx8 architecture, fix build for imx8 + warnings 2018-10-25 10:16:21 -04:00
timer.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
video.c video: ipuv3: add DM_VIDEO support 2019-04-13 20:30:09 +02:00