Skip to contentSkip to conversation

ti_omap4_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL

PATCH New Tom Rini 2 participants 7 messages Sep 17, 2015 – Oct 22, 2015

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/3 ti_omap4_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL

Tested on Pandaboard

---
 include/configs/ti_omap4_common.h |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
include/configs/ti_omap4_common.h +5 -1
index 1cd7dae..741f71f 100644
@@ -58,11 +58,15 @@
  * Hardware drivers
  */
 #define CONFIG_SYS_NS16550
+#if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
 #define CONFIG_SYS_NS16550_CLK		48000000
-#define CONFIG_CONS_INDEX		3
 #define CONFIG_SYS_NS16550_COM3		UART3_BASE
+#else
+#define CONFIG_OMAP_SERIAL
+#endif
+#define CONFIG_CONS_INDEX		3
 
 /* TWL6030 */
 #ifndef CONFIG_SPL_BUILD
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 1/3 ti_omap4_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL

Quoted 2 lines · Tom Rini

Tested on Pandaboard

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: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151022/dcab8d42/attachment.sig>
author
#2 lore raw

PATCH 2/3 ti_omap5_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL

In reply to Tom Rini

Tested on J6Eco EVM

---
 include/configs/ti_omap5_common.h |    4 ++++
 1 file changed, 4 insertions(+)
include/configs/ti_omap5_common.h +4 -0
index 189ea7e..9fc33aa 100644
@@ -51,9 +51,13 @@
  * Hardware drivers
  */
 #define CONFIG_SYS_NS16550
+#if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
 #define CONFIG_SYS_NS16550_CLK		48000000
+#else
+#define CONFIG_OMAP_SERIAL
+#endif
 
 /*
  * Environment setup
Signature · 1 line
1.7.9.5
author
#3 lore raw

PATCH 2/3 ti_omap5_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL

Quoted 2 lines · Tom Rini

Tested on J6Eco EVM

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: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151022/32919d62/attachment.sig>
author
#4 lore raw

PATCH 3/3 dra72_evm: Switch to DM_SERIAL

In reply to Tom Rini

Tested on J6Eco EVM.

---
 configs/dra72_evm_defconfig |    2 ++
 1 file changed, 2 insertions(+)
configs/dra72_evm_defconfig +2 -0
index 3205e72..dbf65d0 100644
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_OMAP54XX=y
 CONFIG_TARGET_DRA7XX_EVM=y
+CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_DEFAULT_DEVICE_TREE="dra72-evm"
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
@@ -14,4 +15,5 @@ CONFIG_SPL_DISABLE_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
+CONFIG_DM_SERIAL=y
 CONFIG_DM_GPIO=y
Signature · 1 line
1.7.9.5
#5 lore raw

PATCH 3/3 dra72_evm: Switch to DM_SERIAL

Quoted 2 lines · Tom Rini

Tested on J6Eco EVM.

Tried on my DRA72-evm.

Thanks and regards,
Lokesh

Quoted 23 lines
---
 configs/dra72_evm_defconfig |    2 ++
 1 file changed, 2 insertions(+)
configs/dra72_evm_defconfig +2 -0
index 3205e72..dbf65d0 100644
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_OMAP54XX=y
 CONFIG_TARGET_DRA7XX_EVM=y
+CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_DEFAULT_DEVICE_TREE="dra72-evm"
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
@@ -14,4 +15,5 @@ CONFIG_SPL_DISABLE_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
+CONFIG_DM_SERIAL=y
 CONFIG_DM_GPIO=y
author
#6 lore raw

PATCH 3/3 dra72_evm: Switch to DM_SERIAL

In reply to Tom Rini
Quoted 3 lines · Tom Rini

Tested on J6Eco EVM.

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: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151022/244c2993/attachment.sig>