From: Derald D. Woods <woods.technical@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] ARM: dts: omap3-evm: Enable DM and devicetree for TMDSEVM{3530, 3730}
Date: Sat, 16 Dec 2017 14:14:49 -0600 [thread overview]
Message-ID: <20171216201450.5770-3-woods.technical@gmail.com> (raw)
In-Reply-To: <20171216201450.5770-1-woods.technical@gmail.com>
This commit updates the configuration files needed to support OF_CONTROL
on the OMAP3 EVM baseboard.
Tested using GCC 7.2.0 [--with-float=hard --with-mode=thumb].
Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
---
arch/arm/mach-omap2/omap3/Kconfig | 4 ++++
configs/omap3_evm_defconfig | 9 +++------
include/configs/omap3_evm.h | 2 --
3 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-omap2/omap3/Kconfig b/arch/arm/mach-omap2/omap3/Kconfig
index 4dbf9a27da..6d714f6cdb 100644
--- a/arch/arm/mach-omap2/omap3/Kconfig
+++ b/arch/arm/mach-omap2/omap3/Kconfig
@@ -61,6 +61,10 @@ config TARGET_DEVKIT8000
config TARGET_OMAP3_EVM
bool "TI OMAP3 EVM"
+ select DM
+ select DM_SERIAL
+ select DM_GPIO
+ select OMAP3_GPIO_3
config TARGET_OMAP3_IGEP00X0
bool "IGEP"
diff --git a/configs/omap3_evm_defconfig b/configs/omap3_evm_defconfig
index 0c513664fe..bf4480fc5d 100644
--- a/configs/omap3_evm_defconfig
+++ b/configs/omap3_evm_defconfig
@@ -1,10 +1,11 @@
CONFIG_ARM=y
-# CONFIG_SYS_THUMB_BUILD is not set
CONFIG_ARCH_OMAP2PLUS=y
CONFIG_SYS_TEXT_BASE=0x80100000
+CONFIG_TI_COMMON_CMD_OPTIONS=y
CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_SYS_MPUCLK=720
CONFIG_TARGET_OMAP3_EVM=y
+CONFIG_DEFAULT_DEVICE_TREE="omap3-evm"
CONFIG_DISTRO_DEFAULTS=y
CONFIG_BOOTDELAY=3
CONFIG_USE_BOOTCOMMAND=y
@@ -20,15 +21,11 @@ CONFIG_SYS_PROMPT="OMAP3_EVM # "
CONFIG_CMD_ASKENV=y
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_FPGA is not set
-CONFIG_CMD_GPIO=y
-CONFIG_CMD_I2C=y
CONFIG_CMD_MMC=y
CONFIG_CMD_NAND=y
CONFIG_CMD_NAND_TRIMFFS=y
-CONFIG_CMD_SPI=y
CONFIG_CMD_USB=y
CONFIG_CMD_CACHE=y
-CONFIG_CMD_EXT4_WRITE=y
CONFIG_CMD_FS_UUID=y
CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(spl),1792k(u-boot),128k(dtb),128k(u-boot-env),6m(kernel),-(rootfs)"
@@ -36,6 +33,7 @@ CONFIG_CMD_UBI=y
# CONFIG_ISO_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
CONFIG_SPL_PARTITION_UUIDS=y
+CONFIG_OF_CONTROL=y
CONFIG_ENV_IS_IN_NAND=y
CONFIG_DM=y
CONFIG_SPL_DM=y
@@ -61,7 +59,6 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0451
CONFIG_USB_GADGET_PRODUCT_NUM=0x5678
CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_USB_ETHER=y
-CONFIG_FAT_WRITE=y
CONFIG_BCH=y
CONFIG_OF_LIBFDT=y
CONFIG_OF_LIBFDT_OVERLAY=y
diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index 42f2153637..0bf3423129 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -42,8 +42,6 @@
#define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1
#if defined(CONFIG_SPL_BUILD)
#undef CONFIG_SYS_NS16550_REG_SIZE
-#else /* !CONFIG_SPL_BUILD */
-#define CONFIG_SYS_NS16550_REG_SIZE (-1)
#endif /* CONFIG_SPL_BUILD */
/* NAND */
--
2.15.1
next prev parent reply other threads:[~2017-12-16 20:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-16 20:14 [U-Boot] [PATCH 0/3] ARM: omap3: evm: Add OF_CONTROL support Derald D. Woods
2017-12-16 20:14 ` [U-Boot] [PATCH 1/3] ARM: dts: omap3-evm: Add support for TMDSEVM{3530, 3730} Derald D. Woods
2018-01-02 0:47 ` [U-Boot] [U-Boot, " Tom Rini
2017-12-16 20:14 ` Derald D. Woods [this message]
2017-12-17 2:36 ` [U-Boot] [PATCH 2/3] ARM: dts: omap3-evm: Enable DM and devicetree " Derald D. Woods
2017-12-27 13:15 ` [U-Boot] [U-Boot, " Tom Rini
2017-12-27 15:22 ` Derald D. Woods
2017-12-27 15:37 ` [U-Boot] [PATCH v3 " Derald D. Woods
2017-12-27 15:40 ` [U-Boot] [PATCH v4 " Derald D. Woods
2018-01-02 0:47 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-12-16 20:14 ` [U-Boot] [PATCH 3/3] ARM: omap3: evm: Refactor 'board_eth_init' Derald D. Woods
2018-01-02 0:47 ` [U-Boot] [U-Boot, " Tom Rini
2017-12-26 3:34 ` [U-Boot] [PATCH 0/3] ARM: omap3: evm: Add OF_CONTROL support Derald D. Woods
2017-12-26 16:14 ` Tom Rini
2017-12-26 17:08 ` Derald D. Woods
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171216201450.5770-3-woods.technical@gmail.com \
--to=woods.technical@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.