mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
board: ti: am335x: Add BBE Lite support
The Sancloud BeagleBone Enhanced Lite (BBE Lite) has its own devicetree file and the board can be identified by the 2nd letter of the config string within the common EEPROM. Signed-off-by: Paul Barker <paul.barker@sancloud.com>
This commit is contained in:
parent
1d49b8d73b
commit
cde726442b
2 changed files with 10 additions and 2 deletions
|
@ -825,8 +825,14 @@ int board_late_init(void)
|
|||
|
||||
if (board_is_bbg1())
|
||||
name = "BBG1";
|
||||
if (board_is_bben())
|
||||
if (board_is_bben()) {
|
||||
char subtype_id = board_ti_get_config()[1];
|
||||
|
||||
if (subtype_id == 'L')
|
||||
name = "BBELITE";
|
||||
else
|
||||
name = "BBEN";
|
||||
}
|
||||
set_board_info_env(name);
|
||||
|
||||
/*
|
||||
|
|
|
@ -134,6 +134,8 @@
|
|||
"setenv fdtfile am335x-boneblue.dtb; fi; " \
|
||||
"if test $board_name = BBEN; then " \
|
||||
"setenv fdtfile am335x-sancloud-bbe.dtb; fi; " \
|
||||
"if test $board_name = BBELITE; then " \
|
||||
"setenv fdtfile am335x-sancloud-bbe-lite.dtb; fi; " \
|
||||
"if test $board_name = A33515BB; then " \
|
||||
"setenv fdtfile am335x-evm.dtb; fi; " \
|
||||
"if test $board_name = A335X_SK; then " \
|
||||
|
|
Loading…
Reference in a new issue