While porting barebox onto a new old MX28 board, I had to extend the low-level code to set up SDRAM and PMIC. Most of those changes are probably also applicable to MX23 boards since the code paths are the same, and are only wrapped in mx28_*/mx23_*-specific wrapper functions. (Also, if anyone wants to port these changes back to U-Boot, feel free to do so, it's the same code ☺) Roland Hieber (12): images: MXS: allow generation of unencrypted bootstreams ARM: MXS: i.MX28: allow setup of low-voltage SDRAM ARM: MXS: allow configuration of EMI clock dividers ARM: MXS: i.MX28: add autodetection of memory banks ARM: MXS: refactor mx2*_power_init source configuration ARM: MXS: allow starting from battery input without 4P2 source enabled ARM: MXS: make power levels configurable in mx2*_power_init ARM: MXS: fix VDDx brownout setup logic ARM: MXS: make VDDx brownout setup more understandable ARM: MXS: mxs_power_status: use less magic values ARM: MXS: mxs_power_status: align output Documentation: MXS: general update and improvements Sascha Hauer (1): scripts: mxsimage: Allow unencrypted images Documentation/boards/mxs.rst | 97 ++++++----- arch/arm/boards/duckbill/lowlevel.c | 7 +- arch/arm/boards/freescale-mx28-evk/lowlevel.c | 8 +- arch/arm/boards/imx233-olinuxino/lowlevel.c | 2 +- arch/arm/boards/karo-tx28/lowlevel.c | 8 +- arch/arm/mach-mxs/Makefile | 2 +- arch/arm/mach-mxs/include/mach/init.h | 49 +++++- arch/arm/mach-mxs/mem-imx28.c | 39 +++++ arch/arm/mach-mxs/mem-init.c | 23 ++- arch/arm/mach-mxs/power-init.c | 162 +++++++++++------- images/Makefile.mxs | 8 + scripts/mxsimage.c | 53 +++--- 12 files changed, 301 insertions(+), 157 deletions(-) create mode 100644 arch/arm/mach-mxs/mem-imx28.c -- 2.18.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox