rockchip: rk3588-nanopc-t6-lts: Add missing board -u-boot.dtsi
PATCH 1/1 rockchip: rk3588-nanopc-t6-lts: Add missing board -u-boot.dtsi
The commit 7cec3e701940 ("rockchip: rk3588-nanopc-t6: Add support for NanoPC-T6 LTS") added support for the LTS variant of NanoPC T6. However, a board specific -u-boot.dtsi file was never added.
Due to the missing -u-boot.dtsi file the LTS fdt included in the FIT is never tagged with bootph props.
When ENV_IS_IN_SPI_FLASH is enabled, not enabled in defconfig, the env can successfully load from SPI flash on the non-LTS variant, something that does not work on the LTS variant due to missing bootph-some-ram props in the LTS fdt.
Fix this by adding a LTS -u-boot.dtsi file that just include the non-LTS -u-boot.dtsi file.
--- arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi | 3 +++ board/friendlyelec/nanopc-t6-rk3588/MAINTAINERS | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi
arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi new file +3 -0
@@ -0,0 +1,3 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +#include "rk3588-nanopc-t6-u-boot.dtsi"
board/friendlyelec/nanopc-t6-rk3588/MAINTAINERS +1 -2
@@ -5,5 +5,4 @@ S: Maintained F: board/friendlyelec/nanopc-t6-rk3588 F: include/configs/nanopc-t6-rk3588.h F: configs/nanopc-t6-rk3588_defconfig -F: arch/arm/dts/rk3588-nanopc-t6.dts -F: arch/arm/dts/rk3588-nanopc-t6-u-boot.dtsi +F: arch/arm/dts/rk3588-nanopc-t6*
Signature · 1 line
2.47.1
Quoted 12 lines · Jonas Karlman
The commit
7cec3e701940("rockchip: rk3588-nanopc-t6: Add support for NanoPC-T6 LTS") added support for the LTS variant of NanoPC T6. However, a board specific-u-boot.dtsifile was never added.Due to the missing
-u-boot.dtsifile the LTS fdt included in the FIT is never tagged with bootph props.When
ENV_IS_IN_SPI_FLASHis enabled, not enabled in defconfig, the env can successfully load from SPI flash on the non-LTS variant, something that does not work on the LTS variant due to missing bootph-some-ram props in the LTS fdt.
Quoted 6 lines
Fix this by adding a LTS
-u-boot.dtsifile that just include the non-LTS-u-boot.dtsifile.Reported-by Ricardo Pardini <[email protected]>Fixes 7cec3e701940 ("rockchip: rk3588-nanopc-t6: Add support for NanoPC-T6 LTS")Signed-off-by Jonas Karlman <[email protected]>
Thanks,
- Kever
Quoted 26 lines
--- arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi | 3 +++ board/friendlyelec/nanopc-t6-rk3588/MAINTAINERS | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-)create mode 100644
arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsiarch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi new file +3
-0@@ -0,0 +1,3 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +#include "rk3588-nanopc-t6-u-boot.dtsi"board/friendlyelec/nanopc-t6-rk3588/MAINTAINERS +1
-2@@ -5,5 +5,4 @@ S: Maintained F: board/friendlyelec/nanopc-t6-rk3588 F: include/configs/nanopc-t6-rk3588.h F: configs/nanopc-t6-rk3588_defconfig -F: arch/arm/dts/rk3588-nanopc-t6.dts -F: arch/arm/dts/rk3588-nanopc-t6-u-boot.dtsi +F: arch/arm/dts/rk3588-nanopc-t6*