diff options
-rw-r--r-- | common/boards/qemu-virt/Makefile | 2 | ||||
-rw-r--r-- | common/boards/qemu-virt/board.c | 7 | ||||
-rw-r--r-- | common/boards/qemu-virt/fitimage-pubkey.dts | 7 |
3 files changed, 2 insertions, 14 deletions
diff --git a/common/boards/qemu-virt/Makefile b/common/boards/qemu-virt/Makefile index 00bfdfbda6..88184e9a79 100644 --- a/common/boards/qemu-virt/Makefile +++ b/common/boards/qemu-virt/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only obj-y += board.o -obj-y += overlay-of-flash.dtb.o fitimage-pubkey.dtb.o +obj-y += overlay-of-flash.dtb.o ifeq ($(CONFIG_RISCV),y) DTC_CPP_FLAGS_overlay-of-flash.dtb := -DRISCV_VIRT=1 endif diff --git a/common/boards/qemu-virt/board.c b/common/boards/qemu-virt/board.c index e1202034f5..d0f4412cde 100644 --- a/common/boards/qemu-virt/board.c +++ b/common/boards/qemu-virt/board.c @@ -35,11 +35,10 @@ static inline void arm_virt_init(void) {} #endif extern char __dtb_overlay_of_flash_start[]; -extern char __dtb_fitimage_pubkey_start[]; static int virt_probe(struct device *dev) { - struct device_node *overlay, *pubkey; + struct device_node *overlay; void (*init)(void); init = device_get_match_data(dev); @@ -48,10 +47,6 @@ static int virt_probe(struct device *dev) overlay = of_unflatten_dtb(__dtb_overlay_of_flash_start, INT_MAX); of_overlay_apply_tree(dev->of_node, overlay); - - pubkey = of_unflatten_dtb(__dtb_fitimage_pubkey_start, INT_MAX); - of_merge_nodes(dev->of_node, pubkey); - /* of_probe() will happen later at of_populate_initcall */ return 0; diff --git a/common/boards/qemu-virt/fitimage-pubkey.dts b/common/boards/qemu-virt/fitimage-pubkey.dts deleted file mode 100644 index 497799fa4b..0000000000 --- a/common/boards/qemu-virt/fitimage-pubkey.dts +++ /dev/null @@ -1,7 +0,0 @@ -/dts-v1/; - -#ifdef CONFIG_BOOTM_FITIMAGE_PUBKEY -#include CONFIG_BOOTM_FITIMAGE_PUBKEY -#endif - -/{ }; |