diff options
-rw-r--r-- | src/board.sh | 11 | ||||
-rw-r--r-- | src/board/x200_4mb.sh | 6 | ||||
-rw-r--r-- | src/board/x200_8mb.sh | 6 |
3 files changed, 23 insertions, 0 deletions
diff --git a/src/board.sh b/src/board.sh index a806be9..e55f676 100644 --- a/src/board.sh +++ b/src/board.sh @@ -17,6 +17,17 @@ board_functions='get_name match validate_chip get_dists' +boards='' + +register_board() +{ + local board="${1}" + shift 1 + + boards="${boards} ${board}" + return 0 +} + find_board() { local board= diff --git a/src/board/x200_4mb.sh b/src/board/x200_4mb.sh index d853501..697a643 100644 --- a/src/board/x200_4mb.sh +++ b/src/board/x200_4mb.sh @@ -56,3 +56,9 @@ board_x200_4mb_get_dists() printf 'libreboot libiquity' return 0 } + +board_x200_4mb_register() +{ + register_board 'x200_4mb' +} +__init board_x200_4mb_register diff --git a/src/board/x200_8mb.sh b/src/board/x200_8mb.sh index bbf7b9d..9c17c8e 100644 --- a/src/board/x200_8mb.sh +++ b/src/board/x200_8mb.sh @@ -56,3 +56,9 @@ board_x200_8mb_get_dists() printf 'libreboot libiquity' return 0 } + +board_x200_8mb_register() +{ + register_board 'x200_8mb' +} +__init board_x200_8mb_register |