From 5e9ec24c72142e2fe9ba10ab96111b9fbfc0b3c1 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 27 Oct 2015 16:02:39 -0400 Subject: board/x200: Split into x200_4mb and x200_8mb --- (limited to 'src/board/x200.sh') diff --git a/src/board/x200.sh b/src/board/x200.sh deleted file mode 100644 index 1c9b3a2..0000000 --- a/src/board/x200.sh +++ /dev/null @@ -1,56 +0,0 @@ -# Lenovo ThinkPad X200 board -# -# Copyright (C) 2015 Patrick "P. J." McDermott -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -board_x200_get_name() -{ - printf 'Lenovo ThinkPad X200' - return 0 -} - -board_x200_match() -{ - local vendor="${1}" - local part="${2}" - shift 2 - - if [ "x${vendor}" = 'xLENOVO' ] && [ "x${part}" = 'xThinkPad X200' ] - then - return 0 - else - return 1 - fi -} - -board_x200_validate_chip() -{ - local chip="${1}" - shift 1 - - case "${chip}" in - 'AT25DF321') return 0;; # AT26DF321-SU - 'MX25L3205D') return 0;; # MX25L3205DM2I-12G - 'MX25L6405D') return 0;; # MX25L6405DMI-12G - 'W25X64') return 0;; # W25X64VSFIG - *) return 1;; - esac -} - -board_x200_get_dists() -{ - printf 'libreboot libiquity' - return 0 -} -- cgit v0.9.1