[U-Boot] [PATCH 0/2] Enable DM_SERIAL for dra74x evm

DM_SERIAL is not enabled for dra74x evm, enabling it and tested on dra74x evm. Logs [1].
[1] - http://pastebin.ubuntu.com/13513965/
Mugunthan V N (2): arm: dts: dra7-evm: add chosen node to specify serial console device defconfig: dra74_evm: enable serial driver model
arch/arm/dts/dra7-evm.dts | 4 ++++ configs/dra74_evm_defconfig | 1 + 2 files changed, 5 insertions(+)

Introduce chosen node and specify uart0 to be used as serial console.
Signed-off-by: Mugunthan V N mugunthanvnm@ti.com --- arch/arm/dts/dra7-evm.dts | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/dra7-evm.dts b/arch/arm/dts/dra7-evm.dts index 096f68b..e4daa99 100644 --- a/arch/arm/dts/dra7-evm.dts +++ b/arch/arm/dts/dra7-evm.dts @@ -14,6 +14,10 @@ model = "TI DRA742"; compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7";
+ chosen { + stdout-path = &uart1; + }; + memory { device_type = "memory"; reg = <0x80000000 0x60000000>; /* 1536 MB */

On 26 November 2015 at 03:55, Mugunthan V N mugunthanvnm@ti.com wrote:
Introduce chosen node and specify uart0 to be used as serial console.
Signed-off-by: Mugunthan V N mugunthanvnm@ti.com
arch/arm/dts/dra7-evm.dts | 4 ++++ 1 file changed, 4 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org

On Thu, Nov 26, 2015 at 05:25:41PM +0530, Mugunthan V N wrote:
Introduce chosen node and specify uart0 to be used as serial console.
Signed-off-by: Mugunthan V N mugunthanvnm@ti.com Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!

Enable serial driver model for dra74_evm as ns16550 supports driver model.
Signed-off-by: Mugunthan V N mugunthanvnm@ti.com --- configs/dra74_evm_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/configs/dra74_evm_defconfig b/configs/dra74_evm_defconfig index 7bff294..394edbe 100644 --- a/configs/dra74_evm_defconfig +++ b/configs/dra74_evm_defconfig @@ -16,5 +16,6 @@ CONFIG_DM=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_SPANSION=y +CONFIG_DM_SERIAL=y CONFIG_SYS_NS16550=y CONFIG_TI_QSPI=y

On 26 November 2015 at 03:55, Mugunthan V N mugunthanvnm@ti.com wrote:
Enable serial driver model for dra74_evm as ns16550 supports driver model.
Signed-off-by: Mugunthan V N mugunthanvnm@ti.com
configs/dra74_evm_defconfig | 1 + 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass sjg@chromium.org

On Thu, Nov 26, 2015 at 05:25:42PM +0530, Mugunthan V N wrote:
Enable serial driver model for dra74_evm as ns16550 supports driver model.
Signed-off-by: Mugunthan V N mugunthanvnm@ti.com Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!
participants (3)
-
Mugunthan V N
-
Simon Glass
-
Tom Rini