* [U-Boot] [PATCH] ARM: at91: sama5d4: display the U-Boot version on LCD
@ 2015-02-04 3:03 Josh Wu
2015-02-04 5:09 ` Bo Shen
2015-03-31 23:05 ` [U-Boot] " Andreas Bießmann
0 siblings, 2 replies; 3+ messages in thread
From: Josh Wu @ 2015-02-04 3:03 UTC (permalink / raw)
To: u-boot
This patch will display the U-Boot version on LCD.
Signed-off-by: Josh Wu <josh.wu@atmel.com>
---
board/atmel/sama5d4_xplained/sama5d4_xplained.c | 2 ++
board/atmel/sama5d4ek/sama5d4ek.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c b/board/atmel/sama5d4_xplained/sama5d4_xplained.c
index 1c5b92c..a8c476b 100644
--- a/board/atmel/sama5d4_xplained/sama5d4_xplained.c
+++ b/board/atmel/sama5d4_xplained/sama5d4_xplained.c
@@ -23,6 +23,7 @@
#include <netdev.h>
#include <nand.h>
#include <spi.h>
+#include <version.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -178,6 +179,7 @@ void lcd_show_board_info(void)
int i;
char temp[32];
+ lcd_printf("%s\n", U_BOOT_VERSION);
lcd_printf("2014 ATMEL Corp\n");
lcd_printf("%s CPU at %s MHz\n", get_cpu_name(),
strmhz(temp, get_cpu_clk_rate()));
diff --git a/board/atmel/sama5d4ek/sama5d4ek.c b/board/atmel/sama5d4ek/sama5d4ek.c
index d8ff648..b55db06 100644
--- a/board/atmel/sama5d4ek/sama5d4ek.c
+++ b/board/atmel/sama5d4ek/sama5d4ek.c
@@ -23,6 +23,7 @@
#include <netdev.h>
#include <nand.h>
#include <spi.h>
+#include <version.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -173,6 +174,7 @@ void lcd_show_board_info(void)
int i;
char temp[32];
+ lcd_printf("%s\n", U_BOOT_VERSION);
lcd_printf("2014 ATMEL Corp\n");
lcd_printf("at91 at atmel.com\n");
lcd_printf("%s CPU at %s MHz\n", get_cpu_name(),
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] ARM: at91: sama5d4: display the U-Boot version on LCD
2015-02-04 3:03 [U-Boot] [PATCH] ARM: at91: sama5d4: display the U-Boot version on LCD Josh Wu
@ 2015-02-04 5:09 ` Bo Shen
2015-03-31 23:05 ` [U-Boot] " Andreas Bießmann
1 sibling, 0 replies; 3+ messages in thread
From: Bo Shen @ 2015-02-04 5:09 UTC (permalink / raw)
To: u-boot
Hi Josh,
On 02/04/2015 11:03 AM, Josh Wu wrote:
> This patch will display the U-Boot version on LCD.
To be frankly, I have no idea what should be put on LCD to display. No
objection for this patch.
> Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Bo Shen <voice.shen@atmel.com>
> ---
>
> board/atmel/sama5d4_xplained/sama5d4_xplained.c | 2 ++
> board/atmel/sama5d4ek/sama5d4ek.c | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c b/board/atmel/sama5d4_xplained/sama5d4_xplained.c
> index 1c5b92c..a8c476b 100644
> --- a/board/atmel/sama5d4_xplained/sama5d4_xplained.c
> +++ b/board/atmel/sama5d4_xplained/sama5d4_xplained.c
> @@ -23,6 +23,7 @@
> #include <netdev.h>
> #include <nand.h>
> #include <spi.h>
> +#include <version.h>
>
> DECLARE_GLOBAL_DATA_PTR;
>
> @@ -178,6 +179,7 @@ void lcd_show_board_info(void)
> int i;
> char temp[32];
>
> + lcd_printf("%s\n", U_BOOT_VERSION);
> lcd_printf("2014 ATMEL Corp\n");
> lcd_printf("%s CPU at %s MHz\n", get_cpu_name(),
> strmhz(temp, get_cpu_clk_rate()));
> diff --git a/board/atmel/sama5d4ek/sama5d4ek.c b/board/atmel/sama5d4ek/sama5d4ek.c
> index d8ff648..b55db06 100644
> --- a/board/atmel/sama5d4ek/sama5d4ek.c
> +++ b/board/atmel/sama5d4ek/sama5d4ek.c
> @@ -23,6 +23,7 @@
> #include <netdev.h>
> #include <nand.h>
> #include <spi.h>
> +#include <version.h>
>
> DECLARE_GLOBAL_DATA_PTR;
>
> @@ -173,6 +174,7 @@ void lcd_show_board_info(void)
> int i;
> char temp[32];
>
> + lcd_printf("%s\n", U_BOOT_VERSION);
> lcd_printf("2014 ATMEL Corp\n");
> lcd_printf("at91 at atmel.com\n");
> lcd_printf("%s CPU at %s MHz\n", get_cpu_name(),
>
Best Regards,
Bo Shen
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] ARM: at91: sama5d4: display the U-Boot version on LCD
2015-02-04 3:03 [U-Boot] [PATCH] ARM: at91: sama5d4: display the U-Boot version on LCD Josh Wu
2015-02-04 5:09 ` Bo Shen
@ 2015-03-31 23:05 ` Andreas Bießmann
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Bießmann @ 2015-03-31 23:05 UTC (permalink / raw)
To: u-boot
Dear Josh Wu,
Josh Wu <Josh.wu@atmel.com> writes:
>This patch will display the U-Boot version on LCD.
>
>Signed-off-by: Josh Wu <josh.wu@atmel.com>
>Acked-by: Bo Shen <voice.shen@atmel.com>
>---
>
> board/atmel/sama5d4_xplained/sama5d4_xplained.c | 2 ++
> board/atmel/sama5d4ek/sama5d4ek.c | 2 ++
> 2 files changed, 4 insertions(+)
applied to u-boot-atmel/master, thanks!
Best regards,
Andreas Bie?mann
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-31 23:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-04 3:03 [U-Boot] [PATCH] ARM: at91: sama5d4: display the U-Boot version on LCD Josh Wu
2015-02-04 5:09 ` Bo Shen
2015-03-31 23:05 ` [U-Boot] " Andreas Bießmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.