Skip to content

Commit

Permalink
ARM: at91: sama5d4: display the U-Boot version on LCD
Browse files Browse the repository at this point in the history
This patch will display the U-Boot version on LCD.

Signed-off-by: Josh Wu <[email protected]>
Acked-by: Bo Shen <[email protected]>
  • Loading branch information
JoshWu authored and Andreas Bießmann committed Mar 31, 2015
1 parent 662e2ac commit 02fc64d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions board/atmel/sama5d4_xplained/sama5d4_xplained.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <netdev.h>
#include <nand.h>
#include <spi.h>
#include <version.h>

DECLARE_GLOBAL_DATA_PTR;

Expand Down Expand Up @@ -179,6 +180,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()));
Expand Down
2 changes: 2 additions & 0 deletions board/atmel/sama5d4ek/sama5d4ek.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <netdev.h>
#include <nand.h>
#include <spi.h>
#include <version.h>

DECLARE_GLOBAL_DATA_PTR;

Expand Down Expand Up @@ -174,6 +175,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("[email protected]\n");
lcd_printf("%s CPU at %s MHz\n", get_cpu_name(),
Expand Down

0 comments on commit 02fc64d

Please sign in to comment.