forked from Xilinx/u-boot-xlnx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: at91: sama5d4: display the U-Boot version on LCD
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
Showing
2 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
#include <netdev.h> | ||
#include <nand.h> | ||
#include <spi.h> | ||
#include <version.h> | ||
|
||
DECLARE_GLOBAL_DATA_PTR; | ||
|
||
|
@@ -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(), | ||
|