summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/imx5.c
Commit message (Collapse)AuthorAgeFilesLines
* Arm: i.MX5: Do not disable L2 cacheSascha Hauer2020-06-181-2/+5
| | | | | | | | | | | | | | Disabling the L2 cache is not working in imx5_init_lowlevel() because the necessary cache maintenance operations are missing. This often results in cache corruption in a chainloaded barebox. Disabling the cache is unnecessary: when we come from the ROM the L2 cache is disabled anyway, so disabling it is a no-op. When we get here in a chainloaded barebox the L2 cache is already enabled and correctly configured. So instead of initializing it again we can take an enabled L2 cache as a sign to skip initialization and just return from the function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sizes.h: move include/sizes.h to include/linux/sizes.hMasahiro Yamada2015-01-081-1/+1
| | | | | | | | | | | | | | This file originates in Linux. Linux has it under include/linux/ directory since commit dccd2304cc90. Let's move it to the same place as well in barebox. This commit was generated by the following commands: find -name '*.[chS]' | xargs sed -i -e 's:<sizes.h>:<linux/sizes.h>:' git mv include/sizes.h include/linux/ Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX5: prepare to add a imx51_lowlevel_initSascha Hauer2012-01-021-0/+58
- move code which can be shared between i.MX53 and i.MX51 to a common file - rename mx53_init_lowlevel to imx53_init_lowlevel Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>