From 214538f913dc2e749e0e28f08b81d8fb119b3b66 Mon Sep 17 00:00:00 2001 From: Shaun Mulligan Date: Fri, 16 Jun 2017 22:08:55 +0200 Subject: [PATCH] enable DT overlays in u-boot --- .../u-boot/u-boot/enable-DT-overlays-support.patch | 12 ++++++++++++ .../recipes-bsp/u-boot/u-boot_%.bbappend | 1 + 2 files changed, 13 insertions(+) create mode 100644 layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot/enable-DT-overlays-support.patch diff --git a/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot/enable-DT-overlays-support.patch b/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot/enable-DT-overlays-support.patch new file mode 100644 index 0000000..e31df42 --- /dev/null +++ b/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot/enable-DT-overlays-support.patch @@ -0,0 +1,12 @@ +diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig +index 0ed36cded..822ebb812 100644 +--- a/arch/arm/Kconfig ++++ b/arch/arm/Kconfig +@@ -578,6 +578,7 @@ config ARCH_SUNXI + select CMD_GPIO + select CMD_MMC if MMC + select CMD_USB if DISTRO_DEFAULTS ++ select OF_LIBFDT_OVERLAY + select DM + select DM_ETH + select DM_GPIO diff --git a/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot_%.bbappend b/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot_%.bbappend index 03ba5e9..fd344a2 100644 --- a/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot_%.bbappend +++ b/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot_%.bbappend @@ -9,4 +9,5 @@ SRC_URI_append = " \ file://h3-enable-power-led.patch \ file://h3-set-safe-axi_apb-clock-dividers.patch \ file://h3-adjust-dram-frequency.patch \ + file://enable-DT-overlays-support.patch \ " \ No newline at end of file