aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2021-08-10 01:05:50 +0200
committerDavid Bauer <mail@david-bauer.net>2021-08-15 01:23:55 +0200
commite68e80ead9a0f700701ca494282756454719d7de (patch)
tree1ac6e7b835d32c56bb8731e42d83af5308ff2be9 /package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch
parented9341dd78dcf86828769a7244a989d2c6ac2dbc (diff)
downloadupstream-e68e80ead9a0f700701ca494282756454719d7de.tar.gz
upstream-e68e80ead9a0f700701ca494282756454719d7de.tar.bz2
upstream-e68e80ead9a0f700701ca494282756454719d7de.zip
uboot-rockchip: update to v2021.07
Tested on NanoPi R2S Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch')
-rw-r--r--package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch14
1 files changed, 6 insertions, 8 deletions
diff --git a/package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch b/package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch
index 61a56c2afc..14bcbfb630 100644
--- a/package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch
+++ b/package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch
@@ -17,14 +17,12 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
-@@ -329,10 +329,6 @@ PHONY += dts_dir
- dts_dir:
- $(shell [ -d $(obj)/dts ] || mkdir -p $(obj)/dts)
-
--include/generated/dt-structs-gen.h $(u-boot-spl-platdata_c) &: \
-- $(obj)/$(SPL_BIN).dtb dts_dir FORCE
+@@ -354,8 +354,6 @@ $(platdata-hdr) $(u-boot-spl-platdata_c)
+ @# of OF_PLATDATA_INST and this might change between builds. Leaving old
+ @# ones around is confusing and it is possible that switching the
+ @# setting again will use the old one instead of regenerating it.
+- @rm -f $(u-boot-spl-all-platdata_c) $(u-boot-spl-all-platdata)
- $(call if_changed,dtoc)
--
+
ifdef CONFIG_SAMSUNG
ifdef CONFIG_VAR_SIZE_SPL
- VAR_SIZE_PARAM = --vs