include $(TOPDIR)/rules.mk
PKG_NAME:=uboot-layerscape
-PKG_VERSION:=21.08
-PKG_RELEASE:=7
+PKG_VERSION:=lf-6.1.1-1.0.0
+PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/u-boot
-PKG_SOURCE_VERSION:=LSDK-21.08
-PKG_MIRROR_HASH:=54909a98bdcc26c7f9b35b35fcae09b977ecbf044be7bffa6dad9306c47cccf6
+PKG_SOURCE_URL:=https://github.com/nxp-qoriq/u-boot
+PKG_SOURCE_VERSION:=lf-6.1.1-1.0.0
+PKG_MIRROR_HASH:=f4a3a262fd8923af72dede0348a512c05b756e3925279553eaf1c6667b186fb4
include $(INCLUDE_DIR)/u-boot.mk
include $(INCLUDE_DIR)/package.mk
+++ /dev/null
-Index: uboot-layerscape-lf-6.1.1-1.0.0/arch/arm/cpu/armv8/sec_firmware.c
-===================================================================
---- uboot-layerscape-lf-6.1.1-1.0.0.orig/arch/arm/cpu/armv8/sec_firmware.c
-+++ uboot-layerscape-lf-6.1.1-1.0.0/arch/arm/cpu/armv8/sec_firmware.c
-@@ -473,12 +473,6 @@ int fdt_fixup_kaslr(void *fdt)
- return 0;
- }
-
-- ret = sec_firmware_get_random(rand, 8);
-- if (ret < 0) {
-- printf("WARNING: No random number to set kaslr-seed\n");
-- return 0;
-- }
--
- err = fdt_check_header(fdt);
- if (err < 0) {
- printf("fdt_chosen: %s\n", fdt_strerror(err));
-@@ -490,6 +484,15 @@ int fdt_fixup_kaslr(void *fdt)
- if (nodeoffset < 0)
- return 0;
-
-+ if (fdt_find_or_add_subnode(fdt, nodeoffset, "kaslr-seed"))
-+ return 0;
-+
-+ ret = sec_firmware_get_random(rand, 8);
-+ if (ret < 0) {
-+ printf("WARNING: No random number to set kaslr-seed\n");
-+ return 0;
-+ }
-+
- err = fdt_setprop(fdt, nodeoffset, "kaslr-seed", rand,
- sizeof(rand));
- if (err < 0) {
+++ /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