This work is based on the vendor BSP and an attempt to mainline tqma7 board support. The module is used by many long life products, so it would be nice with upstream supported bootloader. So it's easier to update when secure boot and TPM 2.0 support improves. This patch focus on core bootloader features and not whistles & bells. I have successfully booted a 4.19 mainline kernel with this patch and a device tree patch series currently under review [1]. It compiles without warnings against 2019.01, there are a few checkpatch warnings left that I have not found a valid solution for.
Checkpatch does not like GPL-2.0+ and it results in a few: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 Using grep I have found many lines in the current tree with the same SPDX line. There are about 30 lines that I can refacture between the following two checkpatch warnings: WARNING: Avoid unnecessary line continuations WARNING: line over 80 characters Not sure which warning should be preferred. Any testing and/or review would be welcome. [1] https://www.spinics.net/lists/devicetree/msg277129.html Bruno Thomsen (1): board: tq mba7 tqma7d 1gb emmc support. arch/arm/mach-imx/Kconfig | 2 +- arch/arm/mach-imx/cpu.c | 2 +- arch/arm/mach-imx/mx7/Kconfig | 9 + arch/arm/mach-imx/mx7/soc.c | 7 + board/tqc/common/Kconfig | 4 + board/tqc/common/Makefile | 10 + board/tqc/common/tqc_bb.h | 30 ++ board/tqc/common/tqc_emmc.c | 78 ++++ board/tqc/common/tqc_emmc.h | 12 + board/tqc/tqma7/Kconfig | 79 ++++ board/tqc/tqma7/MAINTAINERS | 8 + board/tqc/tqma7/Makefile | 9 + board/tqc/tqma7/README | 38 ++ board/tqc/tqma7/tqma7.c | 328 ++++++++++++++ board/tqc/tqma7/tqma7_mba7.c | 596 ++++++++++++++++++++++++++ board/tqc/tqma7/tqma7d.cfg | 68 +++ board/tqc/tqma7/tqma7d_ddr_1gb.cfg | 58 +++ board/tqc/tqma7/tqma7d_ddr_512mb.cfg | 58 +++ configs/tqma7d_1gb_mba7_mmc_defconfig | 50 +++ include/configs/tqma7.h | 426 ++++++++++++++++++ include/configs/tqma7_mba7.h | 35 ++ 21 files changed, 1905 insertions(+), 2 deletions(-) create mode 100644 board/tqc/common/Kconfig create mode 100644 board/tqc/common/Makefile create mode 100644 board/tqc/common/tqc_bb.h create mode 100644 board/tqc/common/tqc_emmc.c create mode 100644 board/tqc/common/tqc_emmc.h create mode 100644 board/tqc/tqma7/Kconfig create mode 100644 board/tqc/tqma7/MAINTAINERS create mode 100644 board/tqc/tqma7/Makefile create mode 100644 board/tqc/tqma7/README create mode 100644 board/tqc/tqma7/tqma7.c create mode 100644 board/tqc/tqma7/tqma7_mba7.c create mode 100644 board/tqc/tqma7/tqma7d.cfg create mode 100644 board/tqc/tqma7/tqma7d_ddr_1gb.cfg create mode 100644 board/tqc/tqma7/tqma7d_ddr_512mb.cfg create mode 100644 configs/tqma7d_1gb_mba7_mmc_defconfig create mode 100644 include/configs/tqma7.h create mode 100644 include/configs/tqma7_mba7.h -- 2.20.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot