ARM: mxs: Add lowlevel setup from U-Boot
U-Boot has code to replace the infamous Freescale bootlet code.
This patch adds this for barebox with some changes:
- Separate it more into mx23/mx28 functions instead of mxs functions
  with #ifdefs for the actual SoC
- Add mx2x_power_init_battery_input() power entry point for boards
  which have a regulated input on the battery pin to supply the board.
- Export more functions to be more flexible when boards need non standard
  setup.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 7f00863 commit a47c7d1ecb6307e5e9f0cb8ddcfb2b8803d963a4
@Sascha Hauer Sascha Hauer authored on 5 Dec 2014
Showing 11 changed files
View
arch/arm/mach-mxs/Makefile
View
arch/arm/mach-mxs/include/mach/init.h 0 → 100644
View
arch/arm/mach-mxs/include/mach/regs-clkctrl-mx23.h 0 → 100644
View
arch/arm/mach-mxs/include/mach/regs-clkctrl-mx28.h 0 → 100644
View
arch/arm/mach-mxs/include/mach/regs-common.h 0 → 100644
View
arch/arm/mach-mxs/include/mach/regs-lradc.h 0 → 100644
View
arch/arm/mach-mxs/include/mach/regs-power-mx28.h 0 → 100644
View
arch/arm/mach-mxs/include/mach/regs-rtc.h 0 → 100644
View
arch/arm/mach-mxs/lradc-init.c 0 → 100644
View
arch/arm/mach-mxs/mem-init.c 0 → 100644
View
arch/arm/mach-mxs/power-init.c 0 → 100644
Too large (Show diff)