aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPaul Barker <paul.barker@sancloud.com>2022-04-11 15:42:00 +0000
committerTom Rini <trini@konsulko.com>2022-04-21 09:08:57 -0400
commitcde726442b244029d99965695a25ce198e14fbbb (patch)
treea94c1859c0faab517997cb35dba3e3a77c5e8d11 /board
parent1d49b8d73be48bcbdd4e2403ddd7b0153b493565 (diff)
downloadu-boot-cde726442b244029d99965695a25ce198e14fbbb.zip
u-boot-cde726442b244029d99965695a25ce198e14fbbb.tar.gz
u-boot-cde726442b244029d99965695a25ce198e14fbbb.tar.bz2
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>
Diffstat (limited to 'board')
-rw-r--r--board/ti/am335x/board.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index 9b70670..dd54f4d 100644
--- a/board/ti/am335x/board.c
+++ b/board/ti/am335x/board.c
@@ -825,8 +825,14 @@ int board_late_init(void)
if (board_is_bbg1())
name = "BBG1";
- if (board_is_bben())
- name = "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);
/*