u-boot-brain/arch/arm/mach-omap2
Lukasz Majewski b8c908762c ti: clocks: Fix do_enable_clocks() to accept NULL pointers as input parameters
Up till this commit passing NULL as input parameter was allowed, but not
handled properly.

When one passed NULL to one of this function parameters, the code was
executed causing data abort.

However, what is more interesting, the abort was not caught because of code
execution in HYP mode with masked CPSR A bit ("Imprecise Data Abort mask bit).
The TI's AM57xx SoC switch to HYP mode with A bit masked in lowlevel_init.S
due to SMC call. Such operation (by default) is performed in SoC ROM code.

The problem would pop up when one:
- Switch back to SVC mode after disabling LPAE support
- Somebody enables A bit (by executing cpsie a asm instruction)

and then the previously described exception would be caught.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
2017-04-08 21:32:49 -04:00
..
am33xx board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
omap3 board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
omap4 omap4: Migrate to using imply 2017-03-09 19:52:16 -05:00
omap5 TI: Migrate board/ti/common/Kconfig to imply 2017-03-09 19:52:15 -05:00
abb.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
boot-common.c ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
clocks-common.c ti: clocks: Fix do_enable_clocks() to accept NULL pointers as input parameters 2017-04-08 21:32:49 -04:00
config_secure.mk arm: mach-omap2: Fix secure file generation 2017-01-08 08:31:33 -05:00
config.mk mach-omap2: Cleanup secure boot media generation 2017-01-24 10:35:56 -05:00
emif-common.c arm: omap-common: Fix typo in CONFIG_OMAP54XX guard 2017-03-11 22:30:29 -05:00
hwinit-common.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
Kconfig arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
lowlevel_init.S arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
Makefile arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
mem-common.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
omap-cache.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
pipe3-phy.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
pipe3-phy.h arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
reset.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
sata.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
sec-common.c arm: mach-omap2: Flush cache after FIT post-processing image 2017-02-27 12:14:59 -05:00
timer.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
u-boot-spl.lds ARM: OMAP2+: define _image_binary_end to fix SPL_OF_CONTROL 2017-03-21 07:15:21 -04:00
utils.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
vc.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00