From patchwork Wed Jun 3 14:59:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 241618 List-Id: U-Boot discussion From: heiko at sntech.de (Heiko Stuebner) Date: Wed, 3 Jun 2020 16:59:23 +0200 Subject: [PATCH 0/6] revive Theobroma-Systems puma board Message-ID: <20200603145929.364923-1-heiko@sntech.de> From: Heiko Stuebner This revives the puma boards and makes them boot again with mainline uboot. Main points may be going back to the general fit script and cleaning up the devicetree situation that got completely broken by the recent sync from mainline linux. Heiko Stuebner (6): arm64: dts: rk3399-puma: fix gpio levels for gmac reset pin board: puma: fix indentation for -u-boot.dtsi board: puma: reorganize devicetrees to actually work and match upstream board: puma: fix indentation of misc_init_r board: puma: allow building with TPL as well board: puma: remove separate fit generator arch/arm/dts/Makefile | 4 +- arch/arm/dts/rk3399-puma-ddr1333-u-boot.dtsi | 4 - arch/arm/dts/rk3399-puma-ddr1333.dts | 8 - arch/arm/dts/rk3399-puma-ddr1600-u-boot.dtsi | 4 - arch/arm/dts/rk3399-puma-ddr1600.dts | 9 - arch/arm/dts/rk3399-puma-ddr1866-u-boot.dtsi | 4 - arch/arm/dts/rk3399-puma-ddr1866.dts | 8 - arch/arm/dts/rk3399-puma-haikou.dts | 272 ++++++++++++++++++ arch/arm/dts/rk3399-puma-u-boot.dtsi | 43 +-- arch/arm/dts/rk3399-puma.dtsi | 2 +- board/theobroma-systems/puma_rk3399/Kconfig | 15 + .../puma_rk3399/fit_spl_atf.sh | 94 ------ .../puma_rk3399/puma-rk3399.c | 30 +- configs/puma-rk3399_defconfig | 3 +- 14 files changed, 334 insertions(+), 166 deletions(-) delete mode 100644 arch/arm/dts/rk3399-puma-ddr1333-u-boot.dtsi delete mode 100644 arch/arm/dts/rk3399-puma-ddr1333.dts delete mode 100644 arch/arm/dts/rk3399-puma-ddr1600-u-boot.dtsi delete mode 100644 arch/arm/dts/rk3399-puma-ddr1600.dts delete mode 100644 arch/arm/dts/rk3399-puma-ddr1866-u-boot.dtsi delete mode 100644 arch/arm/dts/rk3399-puma-ddr1866.dts create mode 100644 arch/arm/dts/rk3399-puma-haikou.dts delete mode 100755 board/theobroma-systems/puma_rk3399/fit_spl_atf.sh