diff options
author | P. J. McDermott <pj@pehjota.net> | 2015-10-27 18:00:29 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2015-10-27 18:00:29 (EDT) |
commit | 6b715221c57ddbe068c22eddeb454158f049d68d (patch) | |
tree | 49167f4fe5c3b3bdbdac3f15b41b7db68766b569 | |
parent | 0ed86da9e312f428f75a81fca8d4a4c9dad90224 (diff) | |
download | firman.sh-6b715221c57ddbe068c22eddeb454158f049d68d.zip firman.sh-6b715221c57ddbe068c22eddeb454158f049d68d.tar.gz firman.sh-6b715221c57ddbe068c22eddeb454158f049d68d.tar.bz2 |
board_validate_chip(): Drop
-rw-r--r-- | src/board.sh | 2 | ||||
-rw-r--r-- | src/board/taurinus_x200_4mb.sh | 13 | ||||
-rw-r--r-- | src/board/taurinus_x200_8mb.sh | 13 | ||||
-rw-r--r-- | src/board/x200_4mb.sh | 13 | ||||
-rw-r--r-- | src/board/x200_8mb.sh | 13 |
5 files changed, 1 insertions, 53 deletions
diff --git a/src/board.sh b/src/board.sh index cc4c54b..12b86cf 100644 --- a/src/board.sh +++ b/src/board.sh @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -board_functions='get_name get_id match validate_chip get_dists' +board_functions='get_name get_id match get_dists' boards='' diff --git a/src/board/taurinus_x200_4mb.sh b/src/board/taurinus_x200_4mb.sh index f206f8d..6e0a3ca 100644 --- a/src/board/taurinus_x200_4mb.sh +++ b/src/board/taurinus_x200_4mb.sh @@ -44,19 +44,6 @@ board_taurinus_x200_4mb_match() return 0 } -board_taurinus_x200_4mb_validate_chip() -{ - local chip="${1}" - shift 1 - - case "${chip}" in - 'AT25DF321');; # AT26DF321-SU - 'MX25L3205D');; # MX25L3205DM2I-12G - *) return 1;; - esac - return 0 -} - board_taurinus_x200_4mb_get_dists() { printf 'libiquity' diff --git a/src/board/taurinus_x200_8mb.sh b/src/board/taurinus_x200_8mb.sh index 5c1716b..31a2220 100644 --- a/src/board/taurinus_x200_8mb.sh +++ b/src/board/taurinus_x200_8mb.sh @@ -44,19 +44,6 @@ board_taurinus_x200_8mb_match() return 0 } -board_taurinus_x200_8mb_validate_chip() -{ - local chip="${1}" - shift 1 - - case "${chip}" in - 'MX25L6405D');; # MX25L6405DMI-12G - 'W25X64');; # W25X64VSFIG - *) return 1;; - esac - return 0 -} - board_taurinus_x200_8mb_get_dists() { printf 'libiquity' diff --git a/src/board/x200_4mb.sh b/src/board/x200_4mb.sh index 1a2889b..83cdafd 100644 --- a/src/board/x200_4mb.sh +++ b/src/board/x200_4mb.sh @@ -44,19 +44,6 @@ board_x200_4mb_match() return 0 } -board_x200_4mb_validate_chip() -{ - local chip="${1}" - shift 1 - - case "${chip}" in - 'AT25DF321');; # AT26DF321-SU - 'MX25L3205D');; # MX25L3205DM2I-12G - *) return 1;; - esac - return 0 -} - board_x200_4mb_get_dists() { printf 'libreboot libiquity' diff --git a/src/board/x200_8mb.sh b/src/board/x200_8mb.sh index 2da31a5..228e4a2 100644 --- a/src/board/x200_8mb.sh +++ b/src/board/x200_8mb.sh @@ -44,19 +44,6 @@ board_x200_8mb_match() return 0 } -board_x200_8mb_validate_chip() -{ - local chip="${1}" - shift 1 - - case "${chip}" in - 'MX25L6405D');; # MX25L6405DMI-12G - 'W25X64');; # W25X64VSFIG - *) return 1;; - esac - return 0 -} - board_x200_8mb_get_dists() { printf 'libreboot libiquity' |