ENV_SIZE:=0x10000
endef
+define U-Boot/fsl_ls1028a-rdb
+ NAME:=NXP LS1028ARDB
+ UBOOT_CONFIG:=ls1028ardb_tfa
+endef
+
+define U-Boot/fsl_ls1028a-rdb-sdboot
+ NAME:=NXP LS1028ARDB SD Card Boot
+ UBOOT_CONFIG:=ls1028ardb_tfa
+endef
+
define U-Boot/fsl_ls1043a-rdb
NAME:=NXP LS1043ARDB
UBOOT_CONFIG:=ls1043ardb_tfa
fsl_ls1012a-frdm \
fsl_ls1012a-rdb \
fsl_ls1012a-frwy-sdboot \
+ fsl_ls1028a-rdb \
+ fsl_ls1028a-rdb-sdboot \
fsl_ls1043a-rdb \
fsl_ls1043a-rdb-sdboot \
fsl_ls1046a-frwy \
--- /dev/null
+fdtaddr=0x8f000000
+loadaddr=0x81000000
+fdt_high=0x8fffffff
+initrd_high=0xffffffffffffffff
+hwconfig=fsl_ddr:bank_intlv=auto
+sd_boot=ext4load mmc 0:1 $loadaddr fitImage;bootm $loadaddr
+bootargs=root=/dev/mmcblk0p2 rw rootwait rootfstype=squashfs,f2fs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200
+bootcmd=echo starting openwrt ...;run sd_boot
+bootdelay=3
+fsl_bootcmd_mcinitcmd_set=y
--- /dev/null
+fdtaddr=0x8f000000
+loadaddr=0x81000000
+bootm_size=0x10000000
+hwconfig=fsl_ddr:bank_intlv=auto
+qspi_boot=sf probe 0:0;sf read $loadaddr 1000000 1000000;bootm $loadaddr
+bootargs=rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=20c0000.spi:1m(bl2),4m(fip),1m(u-boot-env),128k(secure-boot-headers),48m@0x1000000(firmware)
+bootcmd=echo starting openwrt ...;run qspi_boot
+bootdelay=3
+fsl_bootcmd_mcinitcmd_set=y
--- /dev/null
+--- a/configs/ls1028ardb_tfa_defconfig
++++ b/configs/ls1028ardb_tfa_defconfig
+@@ -1,5 +1,4 @@
+ CONFIG_ARM=y
+-CONFIG_GIC_V3_ITS=y
+ CONFIG_TARGET_LS1028ARDB=y
+ CONFIG_TFABOOT=y
+ CONFIG_SYS_MALLOC_F_LEN=0x6000