u-boot-brain/arch/arm
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
..
cpu spl: Kconfig: SPL_MMC_SUPPORT depends on GENERIC_MMC 2017-04-08 09:26:54 -04:00
dts Merge branch 'master' of git://git.denx.de/u-boot-samsung 2017-04-08 10:20:26 -04:00
imx-common imx6: Add src_base structure define macro 2017-03-17 09:27:08 +01:00
include ti: wdt: omap5: Define WDT_BASE for omap5+ SoC 2017-04-08 21:32:49 -04:00
lib armv7m: add instruction & data cache support 2017-04-08 09:26:50 -04:00
mach-aspeed dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
mach-at91 arm: Migrate SYS_THUMB_BUILD to Kconfig, introduce SPL_SYS_THUMB_BUILD 2017-03-18 20:28:01 -04:00
mach-bcm283x ARM: bcm283x: Implement EFI RTS reset_system 2016-11-28 20:15:19 -05:00
mach-davinci Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
mach-exynos ARM: Migrate errata to Kconfig 2017-03-09 19:52:50 -05:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
mach-kirkwood kirkwood: remove get_random_hex() and MD5 dependency 2017-03-17 09:09:20 -04:00
mach-meson board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-mvebu board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-omap2 ti: clocks: Fix do_enable_clocks() to accept NULL pointers as input parameters 2017-04-08 21:32:49 -04:00
mach-orion5x board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-rmobile armv8: aarch64: Fix the warning about x1-x3 nonzero issue 2017-01-18 09:29:33 -08:00
mach-rockchip rockchip: Add support for MiQi rk3288 board 2017-04-04 20:01:57 -06:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon drivers/sysreset: group sysreset drivers 2016-08-12 09:22:17 -04:00
mach-socfpga SPL: add support to boot from a partition type 2017-02-17 14:15:14 -05:00
mach-sti board: Add STMicroelectronics STiH410-B2260 support 2017-03-14 20:40:21 -04:00
mach-stm32 stm32f7: enable instruction & data cache 2017-04-08 09:26:51 -04:00
mach-sunxi sunxi: introduce Allwinner H5 config option 2017-04-05 15:03:17 +05:30
mach-tegra board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-uniphier board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq zynq: Move zynq to clock framework 2017-02-17 10:22:46 +01:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk ARMv8: add GOT sections to the list of sections copied 2017-04-08 09:26:46 -04:00
Kconfig sunxi: simplify ACTLR.SMP bit set #ifdef 2017-04-05 15:03:17 +05:30
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile imx: mx7ulp: Add soc level initialization codes and functions 2017-03-17 09:27:08 +01:00