ti_omap4_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL
PATCH 1/3 ti_omap4_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL
Tested on Pandaboard
Signed-off-by Tom Rini <[email protected]>
--- include/configs/ti_omap4_common.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
include/configs/ti_omap4_common.h +5 -1
@@ -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
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
Signed-off-by Tom Rini <[email protected]>
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>
PATCH 2/3 ti_omap5_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL
In reply to Tom RiniTested on J6Eco EVM
Signed-off-by Tom Rini <[email protected]>
--- include/configs/ti_omap5_common.h | 4 ++++ 1 file changed, 4 insertions(+)
include/configs/ti_omap5_common.h +4 -0
@@ -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
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
Signed-off-by Tom Rini <[email protected]>
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>
PATCH 3/3 dra72_evm: Switch to DM_SERIAL
In reply to Tom RiniTested on J6Eco EVM.
Signed-off-by Tom Rini <[email protected]>
--- configs/dra72_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+)
configs/dra72_evm_defconfig +2 -0
@@ -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
PATCH 3/3 dra72_evm: Switch to DM_SERIAL
Quoted 2 lines · Tom Rini
Tested on J6Eco EVM.
Signed-off-by Tom Rini <[email protected]>
Tried on my DRA72-evm.
Tested-by Lokesh Vutla <[email protected]>
Thanks and regards,
Lokesh
Quoted 23 lines
--- configs/dra72_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+)configs/dra72_evm_defconfig +2
-0@@ -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
PATCH 3/3 dra72_evm: Switch to DM_SERIAL
In reply to Tom RiniQuoted 3 lines · Tom Rini
Tested on J6Eco EVM.
Signed-off-by Tom Rini <[email protected]>Tested-by Lokesh Vutla <[email protected]>
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>