arm: omap: configs: various: Remove references to OMAP34XX_UARTx
PATCH 1/1 arm: omap: configs: various: Remove references to OMAP34XX_UARTx
Two boards include a reference to ti_omap3_common.h which points the UART driver to OMAP34XX_UARTx so the extra define should be unnecessary.
--- include/configs/omap3_evm.h | 1 - include/configs/omap3_pandora.h | 1 - 2 files changed, 2 deletions(-)
include/configs/omap3_evm.h +0 -1
@@ -34,7 +34,6 @@#define CONFIG_REVISION_TAG /* Override OMAP3 serial console configuration */ -#define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1/* NAND */ #if defined(CONFIG_NAND )
include/configs/omap3_pandora.h +0 -1
@@ -36,7 +36,6 @@#define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4)#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK -#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3/* commands to include */
Signature · 1 line
2.17.1
PATCH 1/1 arm: omap: configs: various: Remove references to OMAP34XX_UARTx
Quoted 4 lines · Adam Ford
Two boards include a reference to
ti_omap3_common.hwhich points the UART driver toOMAP34XX_UARTxso the extra define should be unnecessary.
A patch has already been submitted for OMAP3 EVM.
Derald
Quoted 37 lines
Signed-off-by Adam Ford <[email protected]>--- include/configs/omap3_evm.h | 1 - include/configs/omap3_pandora.h | 1 - 2 files changed, 2 deletions(-)include/configs/omap3_evm.h +0
-1@@ -34,7 +34,6 @@#define CONFIG_REVISION_TAG /* Override OMAP3 serial console configuration */ -#define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1/* NAND */ #if defined(CONFIG_NAND )include/configs/omap3_pandora.h +0
-2@@ -36,7 +36,6 @@#define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4)#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK -#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3/* commands to include */ --2.17.1
Quoted 27 lines · Adam Ford
Two boards include a reference to
ti_omap3_common.hwhich points the UART driver toOMAP34XX_UARTxso the extra define should be unnecessary.Signed-off-by Adam Ford <[email protected]>--- include/configs/omap3_evm.h | 1 - include/configs/omap3_pandora.h | 1 - 2 files changed, 2 deletions(-)include/configs/omap3_evm.h +0
-1@@ -34,7 +34,6 @@#define CONFIG_REVISION_TAG /* Override OMAP3 serial console configuration */ -#define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1/* NAND */ #if defined(CONFIG_NAND )include/configs/omap3_pandora.h +0
-0
include/configs/omap3_pandora.h line 40
Quoted 6 lines
include/configs/omap3_pandora.h +0
-1@@ -36,7 +36,6 @@#define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4)#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK -#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3/* commands to include */
This results in:
+(omap3_pandora) ../drivers/serial/serial_ns16550.c:31:2: error: #error "Console port 3 defined but not configured." +(omap3_pandora) #error "Console port 3 defined but not configured."
+(omap3_pandora) ^~~~~
+(omap3_pandora) make[2]: *** [../scripts/Makefile.build:279: drivers/serial/serial_ns16550.o] Error 1 +(omap3_pandora) make[1]: *** [Makefile:1373: drivers/serial] Error 2
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/20180820/e4f3bb26/attachment.sig>
Quoted 38 lines · Tom Rini
Quoted 27 lines · Adam Ford
Two boards include a reference to
ti_omap3_common.hwhich points the UART driver toOMAP34XX_UARTxso the extra define should be unnecessary.Signed-off-by Adam Ford <[email protected]>--- include/configs/omap3_evm.h | 1 - include/configs/omap3_pandora.h | 1 - 2 files changed, 2 deletions(-)include/configs/omap3_evm.h +0
-1@@ -34,7 +34,6 @@#define CONFIG_REVISION_TAG /* Override OMAP3 serial console configuration */ -#define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1/* NAND */ #if defined(CONFIG_NAND )include/configs/omap3_pandora.h +0
-0include/configs/omap3_pandora.h line 40
Quoted 6 lines
include/configs/omap3_pandora.h +0
-1@@ -36,7 +36,6 @@#define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4)#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK -#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3/* commands to include */ This results in:
Review
Quoted 5 lines
(quoted diff) +5
-0+(omap3_pandora) ../drivers/serial/serial_ns16550.c:31:2: error: #error "Console port 3 defined but not configured." +(omap3_pandora) #error "Console port 3 defined but not configured." +(omap3_pandora) ^~~~~ +(omap3_pandora) make[2]: *** [../scripts/Makefile.build:279: drivers/serial/serial_ns16550.o] Error 1 +(omap3_pandora) make[1]: *** [Makefile:1373: drivers/serial] Error 2
argh. I made the assumption that people who include ti_omap3_common.h migrated to DM.
I could go back and modify ti_omap3_common.h to wrap
the CONFIG_SYS_NS16550_COMx entries under #if !defined(DM_SERIAL) instead of CONFIG_SPL_BUILD
Do you have an opinion? I may not get back to this before I leave on my trip, but I can take a look again in 2 weeks when I return.
Wasn't there a requirement that we need to move all boards to support CONFIG_DM at one point?
adam
Quoted 3 lines
--
Tom
Quoted 51 lines · Adam Ford
Quoted 38 lines · Tom Rini
Quoted 27 lines · Adam Ford
Two boards include a reference to
ti_omap3_common.hwhich points the UART driver toOMAP34XX_UARTxso the extra define should be unnecessary.Signed-off-by Adam Ford <[email protected]>--- include/configs/omap3_evm.h | 1 - include/configs/omap3_pandora.h | 1 - 2 files changed, 2 deletions(-)include/configs/omap3_evm.h +0
-1@@ -34,7 +34,6 @@#define CONFIG_REVISION_TAG /* Override OMAP3 serial console configuration */ -#define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1/* NAND */ #if defined(CONFIG_NAND )include/configs/omap3_pandora.h +0
-0include/configs/omap3_pandora.h line 40
Quoted 6 lines
include/configs/omap3_pandora.h +0
-1@@ -36,7 +36,6 @@#define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4)#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK -#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3/* commands to include */ This results in:
Review
Quoted 5 lines
(quoted diff) +5
-0+(omap3_pandora) ../drivers/serial/serial_ns16550.c:31:2: error: #error "Console port 3 defined but not configured." +(omap3_pandora) #error "Console port 3 defined but not configured." +(omap3_pandora) ^~~~~ +(omap3_pandora) make[2]: *** [../scripts/Makefile.build:279: drivers/serial/serial_ns16550.o] Error 1 +(omap3_pandora) make[1]: *** [Makefile:1373: drivers/serial] Error 2argh. I made the assumption that people who include
ti_omap3_common.hmigrated to DM.
I could go back and modifyti_omap3_common.hto wrap
theCONFIG_SYS_NS16550_COMxentries under #if !defined(DM_SERIAL) instead ofCONFIG_SPL_BUILD
Quoted 5 lines
Do you have an opinion? I may not get back to this before I leave on my trip, but I can take a look again in 2 weeks when I return.
Wasn't there a requirement that we need to move all boards to support
CONFIG_DMat one point?
Yes, things should get moved to DM. So, adding the omap3_pandora listed maintainer to the email.
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/20180820/6851a111/attachment.sig>
Quoted 52 lines · Tom Rini
Quoted 51 lines · Adam Ford
Quoted 38 lines · Tom Rini
Quoted 27 lines · Adam Ford
Two boards include a reference to
ti_omap3_common.hwhich points the UART driver toOMAP34XX_UARTxso the extra define should be unnecessary.Signed-off-by Adam Ford <[email protected]>--- include/configs/omap3_evm.h | 1 - include/configs/omap3_pandora.h | 1 - 2 files changed, 2 deletions(-)include/configs/omap3_evm.h +0
-1@@ -34,7 +34,6 @@#define CONFIG_REVISION_TAG /* Override OMAP3 serial console configuration */ -#define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1/* NAND */ #if defined(CONFIG_NAND )include/configs/omap3_pandora.h +0
-0include/configs/omap3_pandora.h line 40
Quoted 6 lines
include/configs/omap3_pandora.h +0
-1@@ -36,7 +36,6 @@#define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4)#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK -#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3/* commands to include */ This results in:
Review
Quoted 5 lines
(quoted diff) +5
-0+(omap3_pandora) ../drivers/serial/serial_ns16550.c:31:2: error: #error "Console port 3 defined but not configured." +(omap3_pandora) #error "Console port 3 defined but not configured." +(omap3_pandora) ^~~~~ +(omap3_pandora) make[2]: *** [../scripts/Makefile.build:279: drivers/serial/serial_ns16550.o] Error 1 +(omap3_pandora) make[1]: *** [Makefile:1373: drivers/serial] Error 2argh. I made the assumption that people who include
ti_omap3_common.hmigrated to DM.
I could go back and modifyti_omap3_common.hto wrap
theCONFIG_SYS_NS16550_COMxentries under #if !defined(DM_SERIAL) instead ofCONFIG_SPL_BUILD
Quoted 8 lines
Quoted 5 lines
Do you have an opinion? I may not get back to this before I leave on my trip, but I can take a look again in 2 weeks when I return.
Wasn't there a requirement that we need to move all boards to support
CONFIG_DMat one point?Yes, things should get moved to DM. So, adding the
omap3_pandoralisted maintainer to the email.
I'm sorry I haven't been following u-boot development for some years, what exactly needs to be done here?
I've tried enabling CONFIG_DM_SERIAL, but then the board only prints some garbage and resets. Without changes current u-boot built from git boots fine.
Note that the device is old and only pre- device tree kernels are shipped and officially supported. However the mainline kernel still has incomplete board support (including device tree) for those wanting to use it.
Gražvydas
Quoted 68 lines · Grazvydas Ignotas
Quoted 52 lines · Tom Rini
Quoted 51 lines · Adam Ford
Quoted 38 lines · Tom Rini
Quoted 27 lines · Adam Ford
Two boards include a reference to
ti_omap3_common.hwhich points the UART driver toOMAP34XX_UARTxso the extra define should be unnecessary.Signed-off-by Adam Ford <[email protected]>--- include/configs/omap3_evm.h | 1 - include/configs/omap3_pandora.h | 1 - 2 files changed, 2 deletions(-)include/configs/omap3_evm.h +0
-1@@ -34,7 +34,6 @@#define CONFIG_REVISION_TAG /* Override OMAP3 serial console configuration */ -#define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1/* NAND */ #if defined(CONFIG_NAND )include/configs/omap3_pandora.h +0
-0include/configs/omap3_pandora.h line 40
Quoted 6 lines
include/configs/omap3_pandora.h +0
-1@@ -36,7 +36,6 @@#define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4)#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK -#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3/* commands to include */ This results in:
Review
Quoted 5 lines
(quoted diff) +5
-0+(omap3_pandora) ../drivers/serial/serial_ns16550.c:31:2: error: #error "Console port 3 defined but not configured." +(omap3_pandora) #error "Console port 3 defined but not configured." +(omap3_pandora) ^~~~~ +(omap3_pandora) make[2]: *** [../scripts/Makefile.build:279: drivers/serial/serial_ns16550.o] Error 1 +(omap3_pandora) make[1]: *** [Makefile:1373: drivers/serial] Error 2argh. I made the assumption that people who include
ti_omap3_common.hmigrated to DM.
I could go back and modifyti_omap3_common.hto wrap
theCONFIG_SYS_NS16550_COMxentries under #if !defined(DM_SERIAL) instead ofCONFIG_SPL_BUILDQuoted 8 lines
Quoted 5 lines
Do you have an opinion? I may not get back to this before I leave on my trip, but I can take a look again in 2 weeks when I return.
Wasn't there a requirement that we need to move all boards to support
CONFIG_DMat one point?Yes, things should get moved to DM. So, adding the
omap3_pandoralisted maintainer to the email.I'm sorry I haven't been following u-boot development for some years, what exactly needs to be done here?
I've tried enablingCONFIG_DM_SERIAL, but then the board only prints some garbage and resets. Without changes current u-boot built from git boots fine.
Quoted 4 lines
Note that the device is old and only pre- device tree kernels are shipped and officially supported. However the mainline kernel still has incomplete board support (including device tree) for those wanting to use it.
So over in U-Boot, we're moving towards the point where having some device tree that describes the board will be a lot easier than not in terms of continuing to support the board. So, there's a few ways to look at things:
- If you take a look at 0d43fded20e3 you can see how omap3_evm was updated to use DM_SERIAL and a bunch of other modern things.
- You can also just say that it's time to retire omap3_pandora from mainline U-Boot and that v2018.09 (or v2018.11, but I don't want to wait too long) is the last release with support for the platform.
- See if there's anyone else you know that would like to pick up and maintain the board and make the kind of changes that were made to omap3_evm.
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/20180825/5fa09d7e/attachment.sig>
Quoted 24 lines · Tom Rini
Quoted 18 lines · Grazvydas Ignotas
Quoted 10 lines · Tom Rini
Quoted 6 lines · Adam Ford
Quoted 3 lines · Tom Rini
On Tue, Aug 07, 2018 at 07:28:11AM -0500, Adam Ford wrote:
Wasn't there a requirement that we need to move all boards to support
CONFIG_DMat one point?Yes, things should get moved to DM. So, adding the
omap3_pandoralisted maintainer to the email.I'm sorry I haven't been following u-boot development for some years, what exactly needs to be done here?
I've tried enablingCONFIG_DM_SERIAL, but then the board only prints some garbage and resets. Without changes current u-boot built from git boots fine.Quoted 4 lines
Note that the device is old and only pre- device tree kernels are shipped and officially supported. However the mainline kernel still has incomplete board support (including device tree) for those wanting to use it.
Quoted 12 lines
So over in U-Boot, we're moving towards the point where having some device tree that describes the board will be a lot easier than not in terms of continuing to support the board. So, there's a few ways to look at things:
- If you take a look at0d43fded20e3you can see howomap3_evmwas updated to useDM_SERIALand a bunch of other modern things.
- You can also just say that it's time to retireomap3_pandorafrom mainline U-Boot and that v2018.09 (or v2018.11, but I don't want to wait too long) is the last release with support for the platform.
- See if there's anyone else you know that would like to pick up and maintain the board and make the kind of changes that were made toomap3_evm.
Thanks for the info. I've sent a patch, I hope it is sufficient.
Gražvydas
Quoted 38 lines · Grazvydas Ignotas
Quoted 24 lines · Tom Rini
Quoted 18 lines · Grazvydas Ignotas
Quoted 10 lines · Tom Rini
Quoted 6 lines · Adam Ford
Quoted 3 lines · Tom Rini
On Tue, Aug 07, 2018 at 07:28:11AM -0500, Adam Ford wrote:
Wasn't there a requirement that we need to move all boards to support
CONFIG_DMat one point?Yes, things should get moved to DM. So, adding the
omap3_pandoralisted maintainer to the email.I'm sorry I haven't been following u-boot development for some years, what exactly needs to be done here?
I've tried enablingCONFIG_DM_SERIAL, but then the board only prints some garbage and resets. Without changes current u-boot built from git boots fine.Quoted 4 lines
Note that the device is old and only pre- device tree kernels are shipped and officially supported. However the mainline kernel still has incomplete board support (including device tree) for those wanting to use it.
Quoted 12 lines
So over in U-Boot, we're moving towards the point where having some device tree that describes the board will be a lot easier than not in terms of continuing to support the board. So, there's a few ways to look at things:
- If you take a look at0d43fded20e3you can see howomap3_evmwas updated to useDM_SERIALand a bunch of other modern things.
- You can also just say that it's time to retireomap3_pandorafrom mainline U-Boot and that v2018.09 (or v2018.11, but I don't want to wait too long) is the last release with support for the platform.
- See if there's anyone else you know that would like to pick up and maintain the board and make the kind of changes that were made toomap3_evm.
Quoted 1 line
Thanks for the info. I've sent a patch, I hope it is sufficient.
Works for me, 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/20180825/d009d1d1/attachment.sig>