[U-Boot] [PATCH 1/2] altera_jtag_uart: Adjust the declaration of debug_uart_init()

Follow commit 97b059730218 ("debug_uart: Adjust the declaration of debug_uart_init()")
Signed-off-by: Thomas Chou thomas@wytron.com.tw --- drivers/serial/altera_jtag_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/serial/altera_jtag_uart.c b/drivers/serial/altera_jtag_uart.c index 767603c..5f0d7ac 100644 --- a/drivers/serial/altera_jtag_uart.c +++ b/drivers/serial/altera_jtag_uart.c @@ -130,7 +130,7 @@ U_BOOT_DRIVER(altera_jtaguart) = {
#include <debug_uart.h>
-void debug_uart_init(void) +void _debug_uart_init(void) { }

Follow commit 97b059730218 ("debug_uart: Adjust the declaration of debug_uart_init()")
Signed-off-by: Thomas Chou thomas@wytron.com.tw --- drivers/serial/altera_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/serial/altera_uart.c b/drivers/serial/altera_uart.c index 4c4794e..6228981 100644 --- a/drivers/serial/altera_uart.c +++ b/drivers/serial/altera_uart.c @@ -124,7 +124,7 @@ U_BOOT_DRIVER(altera_uart) = {
#include <debug_uart.h>
-void debug_uart_init(void) +void _debug_uart_init(void) { struct altera_uart_regs *regs = (void *)CONFIG_DEBUG_UART_BASE; u32 div;

On Tuesday, November 03, 2015 at 07:19:35 AM, Thomas Chou wrote:
Follow commit 97b059730218 ("debug_uart: Adjust the declaration of debug_uart_init()")
Signed-off-by: Thomas Chou thomas@wytron.com.tw
Reviewed-by: Marek Vasut marex@denx.de
drivers/serial/altera_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/serial/altera_uart.c b/drivers/serial/altera_uart.c index 4c4794e..6228981 100644 --- a/drivers/serial/altera_uart.c +++ b/drivers/serial/altera_uart.c @@ -124,7 +124,7 @@ U_BOOT_DRIVER(altera_uart) = {
#include <debug_uart.h>
-void debug_uart_init(void) +void _debug_uart_init(void) { struct altera_uart_regs *regs = (void *)CONFIG_DEBUG_UART_BASE; u32 div;
Best regards, Marek Vasut

On Tue, 2015-11-03 at 14:19 +0800, thomas@wytron.com.tw wrote:
Follow commit 97b059730218 ("debug_uart: Adjust the declaration of debug_uart_init()")
Signed-off-by: Thomas Chou thomas@wytron.com.tw
Reviewed-by: Chin Liang See clsee@altera.com
Thanks Chin Liang

On 2015年11月03日 14:19, Thomas Chou wrote:
Follow commit 97b059730218 ("debug_uart: Adjust the declaration of debug_uart_init()")
Signed-off-by: Thomas Chou thomas@wytron.com.tw
drivers/serial/altera_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-nios.
diff --git a/drivers/serial/altera_uart.c b/drivers/serial/altera_uart.c index 4c4794e..6228981 100644 --- a/drivers/serial/altera_uart.c +++ b/drivers/serial/altera_uart.c @@ -124,7 +124,7 @@ U_BOOT_DRIVER(altera_uart) = {
#include <debug_uart.h>
-void debug_uart_init(void) +void _debug_uart_init(void) { struct altera_uart_regs *regs = (void *)CONFIG_DEBUG_UART_BASE; u32 div;

On Tuesday, November 03, 2015 at 07:19:34 AM, Thomas Chou wrote:
Follow commit 97b059730218 ("debug_uart: Adjust the declaration of debug_uart_init()")
Signed-off-by: Thomas Chou thomas@wytron.com.tw
Reviewed-by: Marek Vasut marex@denx.de
drivers/serial/altera_jtag_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/serial/altera_jtag_uart.c b/drivers/serial/altera_jtag_uart.c index 767603c..5f0d7ac 100644 --- a/drivers/serial/altera_jtag_uart.c +++ b/drivers/serial/altera_jtag_uart.c @@ -130,7 +130,7 @@ U_BOOT_DRIVER(altera_jtaguart) = {
#include <debug_uart.h>
-void debug_uart_init(void) +void _debug_uart_init(void) { }
Best regards, Marek Vasut

On Tue, 2015-11-03 at 14:19 +0800, thomas@wytron.com.tw wrote:
Follow commit 97b059730218 ("debug_uart: Adjust the declaration of debug_uart_init()")
Signed-off-by: Thomas Chou thomas@wytron.com.tw
Reviewed-by: Chin Liang See clsee@altera.com
Thanks Chin Liang

On 2015年11月03日 14:19, Thomas Chou wrote:
Follow commit 97b059730218 ("debug_uart: Adjust the declaration of debug_uart_init()")
Signed-off-by: Thomas Chou thomas@wytron.com.tw
drivers/serial/altera_jtag_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-nios.
diff --git a/drivers/serial/altera_jtag_uart.c b/drivers/serial/altera_jtag_uart.c index 767603c..5f0d7ac 100644 --- a/drivers/serial/altera_jtag_uart.c +++ b/drivers/serial/altera_jtag_uart.c @@ -130,7 +130,7 @@ U_BOOT_DRIVER(altera_jtaguart) = {
#include <debug_uart.h>
-void debug_uart_init(void) +void _debug_uart_init(void) { }

Hi Thomas,
On 5 November 2015 at 18:28, Thomas Chou thomas@wytron.com.tw wrote:
On 2015年11月03日 14:19, Thomas Chou wrote:
Follow commit 97b059730218 ("debug_uart: Adjust the declaration of debug_uart_init()")
Signed-off-by: Thomas Chou thomas@wytron.com.tw
drivers/serial/altera_jtag_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-nios.
diff --git a/drivers/serial/altera_jtag_uart.c b/drivers/serial/altera_jtag_uart.c index 767603c..5f0d7ac 100644 --- a/drivers/serial/altera_jtag_uart.c +++ b/drivers/serial/altera_jtag_uart.c @@ -130,7 +130,7 @@ U_BOOT_DRIVER(altera_jtaguart) = {
#include <debug_uart.h>
-void debug_uart_init(void) +void _debug_uart_init(void)
BTW I think that should be static.
{ }
Regards, Simon

Hi Simon,
diff --git a/drivers/serial/altera_jtag_uart.c b/drivers/serial/altera_jtag_uart.c index 767603c..5f0d7ac 100644 --- a/drivers/serial/altera_jtag_uart.c +++ b/drivers/serial/altera_jtag_uart.c @@ -130,7 +130,7 @@ U_BOOT_DRIVER(altera_jtaguart) = {
#include <debug_uart.h>
-void debug_uart_init(void) +void _debug_uart_init(void)
BTW I think that should be static.
Will do. Thanks.
Best regards, Thomas
participants (4)
-
Chin Liang See
-
Marek Vasut
-
Simon Glass
-
Thomas Chou