Skip to contentSkip to conversation

arm: am437x: cm-t43: Add device tree, enable OF_CONTROL

PATCH New sunil.m at techveda.org 2 participants 2 messages Aug 30, 2019 – Sep 14, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm: am437x: cm-t43: Add device tree, enable OF_CONTROL

From: Suniel Mahesh <[email protected]>

Add device tree from Linux for driver model conversion and enable OF_CONTROL. This will remove the following compile warning:
==================================================
Device Tree Source is not correctly specified. Please define 'CONFIG_DEFAULT_DEVICE_TREE'
or build with 'DEVICE_TREE=<device_tree>' argument
===================================================
Target was compile tested, build was clean.

---
 arch/arm/dts/Makefile          |   3 +-
 arch/arm/dts/am437x-cm-t43.dts | 420 +++++++++++++++++++++++++++++++++++++++++
 configs/cm_t43_defconfig       |   2 +
 3 files changed, 424 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/am437x-cm-t43.dts
arch/arm/dts/Makefile +2 -1
index aac1b83..62da168 100644
@@ -302,7 +302,8 @@ dtb-$(CONFIG_AM33XX) += \
 dtb-$(CONFIG_AM43XX) += am437x-gp-evm.dtb am437x-sk-evm.dtb	\
 	am43x-epos-evm.dtb \
 	am437x-idk-evm.dtb \
-	am4372-generic.dtb
+	am4372-generic.dtb \
+	am437x-cm-t43.dtb
 dtb-$(CONFIG_TARGET_AM3517_EVM) += am3517-evm.dtb
 dtb-$(CONFIG_TI816X) += dm8168-evm.dtb
 dtb-$(CONFIG_THUNDERX) += thunderx-88xx.dtb
arch/arm/dts/am437x-cm-t43.dts new file +420 -0

420 lines not on this page · raw message

configs/cm_t43_defconfig +2 -0
index 214a054..dbc0f7e 100644
@@ -32,6 +32,8 @@ CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_SPI_LOAD=y
 CONFIG_SYS_SPI_U_BOOT_OFFS=0x40000
 CONFIG_SYS_PROMPT="CM-T43 # "
+CONFIG_OF_CONTROL=y
+CONFIG_DEFAULT_DEVICE_TREE="am437x-cm-t43"
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_EEPROM_LAYOUT=y
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/2 arm: am437x: cm-t43: Add device tree, enable OF_CONTROL

Quoted 12 lines · sunil.m at techveda.org

From: Suniel Mahesh <[email protected]>

Add device tree from Linux for driver model conversion and enable OF_CONTROL. This will remove the following compile warning:
==================================================
Device Tree Source is not correctly specified. Please define 'CONFIG_DEFAULT_DEVICE_TREE'
or build with 'DEVICE_TREE=<device_tree>' argument
===================================================
Target was compile tested, build was clean.

Quoted 1 line

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190914/3dde8876/attachment.sig>