Patchwork [U-Boot,1/2] serial: Support serial multi for Microblaze

login
register
mail settings
Submitter Michal Simek
Date Aug. 7, 2012, 12:20 p.m.
Message ID <1344342025-29014-1-git-send-email-monstr@monstr.eu>
Download mbox | patch
Permalink /patch/175615/
State Superseded
Delegated to: Tom Rini
Headers show

Comments

Michal Simek - Aug. 7, 2012, 12:20 p.m.
enable serial multi for Microblaze.

Signed-off-by: Michal Simek <monstr@monstr.eu>
---
 include/serial.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Stephan Linz - Aug. 7, 2012, 9:14 p.m.
Am Dienstag, den 07.08.2012, 14:20 +0200 schrieb Michal Simek: 
> enable serial multi for Microblaze.
> 
> Signed-off-by: Michal Simek <monstr@monstr.eu>

Acked-by: Stephan Linz <linz@li-pro.net>

> ---
>  include/serial.h |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/include/serial.h b/include/serial.h
> index 5173499..9475779 100644
> --- a/include/serial.h
> +++ b/include/serial.h
> @@ -31,7 +31,8 @@ extern struct serial_device *default_serial_console(void);
>  	defined(CONFIG_MB86R0x) || defined(CONFIG_MPC5xxx) || \
>  	defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx) || \
>  	defined(CONFIG_MPC86xx) || defined(CONFIG_SYS_SC520) || \
> -	defined(CONFIG_TEGRA2) || defined(CONFIG_SYS_COREBOOT)
> +	defined(CONFIG_TEGRA2) || defined(CONFIG_SYS_COREBOOT) || \
> +	defined(CONFIG_MICROBLAZE)
>  extern struct serial_device serial0_device;
>  extern struct serial_device serial1_device;
>  #if defined(CONFIG_SYS_NS16550_SERIAL)

Patch

diff --git a/include/serial.h b/include/serial.h
index 5173499..9475779 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -31,7 +31,8 @@  extern struct serial_device *default_serial_console(void);
 	defined(CONFIG_MB86R0x) || defined(CONFIG_MPC5xxx) || \
 	defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx) || \
 	defined(CONFIG_MPC86xx) || defined(CONFIG_SYS_SC520) || \
-	defined(CONFIG_TEGRA2) || defined(CONFIG_SYS_COREBOOT)
+	defined(CONFIG_TEGRA2) || defined(CONFIG_SYS_COREBOOT) || \
+	defined(CONFIG_MICROBLAZE)
 extern struct serial_device serial0_device;
 extern struct serial_device serial1_device;
 #if defined(CONFIG_SYS_NS16550_SERIAL)