Everyone: This is a patchset containing the code to add initial support for ZII RDU1 board to Barebox. Changes since [v3]: - Updated copyright header in board.c Changes since [v2]: - Even better way (incorporating feedback from Lucas) of dealing with dataflash BBU quirks - Patches 1 and 2 are technically unrelated, but they were fixes for bugs I found while working on v3, so they are thrown in for convenience - More missing newlines added (hopefully I got them all this time) Changes since [v1]: - Removed usage of compatible property for PMIC initialization - Less invasive (IMHO), way of dealing with dataflash BBU quirks is proposed - Missing newline in board.c [v3] http://lists.infradead.org/pipermail/barebox/2018-June/033848.html [v2] http://lists.infradead.org/pipermail/barebox/2018-June/033800.html [v1] http://lists.infradead.org/pipermail/barebox/2018-June/033764.html http://lists.infradead.org/pipermail/barebox/2018-June/033765.html Andrey Smirnov (10): mtd: mtd_dataflash: Don't print bogus command values for READs common: clock: Sample time before poller_call() ARM: babbage: Make PMIC initialization shareable bbu: Make bbu_find_handler_by_device() public ARM: i.MX: bbu: Make imx_bbu_internal_v1_update() public ARM: i.MX: Move i.MX header definitions to mach-imx filtype: Add code to detect i.MX image v1 ARM: i.MX: bbu: Allow plain i.MX v1 images as a special case ARM: i.MX: bbu: Make struct imx_internal_bbu_handler public ARM: i.MX: Add support for ZII RDU1 board arch/arm/boards/Makefile | 3 +- .../boards/freescale-mx51-babbage/Makefile | 5 +- .../arm/boards/freescale-mx51-babbage/board.c | 112 +--------------- .../arm/boards/freescale-mx51-babbage/power.c | 120 ++++++++++++++++++ arch/arm/boards/zii-imx51-rdu1/Makefile | 2 + arch/arm/boards/zii-imx51-rdu1/board.c | 93 ++++++++++++++ .../flash-header-imx51-zii-rdu1.imxcfg | 60 +++++++++ arch/arm/boards/zii-imx51-rdu1/lowlevel.c | 46 +++++++ arch/arm/configs/imx_v7_defconfig | 1 + arch/arm/dts/Makefile | 1 + arch/arm/dts/imx51-zii-rdu1.dts | 52 ++++++++ arch/arm/mach-imx/Kconfig | 18 ++- arch/arm/mach-imx/imx-bbu-internal.c | 44 ++++--- arch/arm/mach-imx/include/mach/bbu.h | 21 +++ arch/arm/mach-imx/include/mach/imx-header.h | 118 +++++++++++++++++ arch/arm/mach-imx/include/mach/imx5.h | 2 + common/bbu.c | 2 +- common/clock.c | 4 +- common/filetype.c | 8 ++ drivers/mtd/devices/mtd_dataflash.c | 6 +- images/Makefile.imx | 5 + include/bbu.h | 2 + include/filetype.h | 1 + scripts/imx/imx.h | 114 +---------------- 24 files changed, 586 insertions(+), 254 deletions(-) create mode 100644 arch/arm/boards/freescale-mx51-babbage/power.c create mode 100644 arch/arm/boards/zii-imx51-rdu1/Makefile create mode 100644 arch/arm/boards/zii-imx51-rdu1/board.c create mode 100644 arch/arm/boards/zii-imx51-rdu1/flash-header-imx51-zii-rdu1.imxcfg create mode 100644 arch/arm/boards/zii-imx51-rdu1/lowlevel.c create mode 100644 arch/arm/dts/imx51-zii-rdu1.dts create mode 100644 arch/arm/mach-imx/include/mach/imx-header.h -- 2.17.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox