[U-Boot] arm: am335x-pdu001: Move from embedded to separate DTB

Message ID 20181207140155.20118-1-fb@ltec.ch
State Accepted
Commit bfaaacd3b2cb0d7841d9ae7d14ea5da130b8f482
Delegated to: Tom Rini
Headers show
Series
  • [U-Boot] arm: am335x-pdu001: Move from embedded to separate DTB
Related show

Commit Message

Felix Brack Dec. 7, 2018, 2:01 p.m.
There is no need for an embedded device tree for this board so let the
build process generate a separate u-boot.dtb file instead.

Signed-off-by: Felix Brack <fb@ltec.ch>
---

 arch/arm/mach-omap2/am33xx/Kconfig | 1 +
 configs/am335x_pdu001_defconfig    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

Comments

Tom Rini Dec. 13, 2018, 12:47 a.m. | #1
On Fri, Dec 07, 2018 at 03:01:55PM +0100, Felix Brack wrote:

> There is no need for an embedded device tree for this board so let the
> build process generate a separate u-boot.dtb file instead.
> 
> Signed-off-by: Felix Brack <fb@ltec.ch>

Applied to u-boot/master, thanks!

Patch

diff --git a/arch/arm/mach-omap2/am33xx/Kconfig b/arch/arm/mach-omap2/am33xx/Kconfig
index 3529607479..57284c4ae1 100644
--- a/arch/arm/mach-omap2/am33xx/Kconfig
+++ b/arch/arm/mach-omap2/am33xx/Kconfig
@@ -206,6 +206,7 @@  config TARGET_PDU001
 	bool "Support PDU001"
 	select DM
 	select DM_SERIAL
+	imply SPL_SEPARATE_BSS
 	imply CMD_DM
 	help
 	  Support for PDU001 platform developed by EETS GmbH.
diff --git a/configs/am335x_pdu001_defconfig b/configs/am335x_pdu001_defconfig
index 3cb38aff6e..a78ac4dc27 100644
--- a/configs/am335x_pdu001_defconfig
+++ b/configs/am335x_pdu001_defconfig
@@ -32,7 +32,7 @@  CONFIG_CMD_PMIC=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
-CONFIG_OF_EMBED=y
+CONFIG_OF_SEPARATE=y
 CONFIG_DEFAULT_DEVICE_TREE="am335x-pdu001"
 # CONFIG_NET is not set
 CONFIG_SPL_DM=y