diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-04-27 23:20:58 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-04-30 23:09:26 +0200 |
commit | e1ae4b212fd11fa9ae838afa2c045855a128e496 (patch) | |
tree | 022e821951b12b3f34716d12c8f5d44637268f1b /src/mainboard/samsung/stumpy/acpi/chromeos.asl | |
parent | 155e9b5533131f4b944ebb7e5714a871a1294dda (diff) | |
download | coreboot-e1ae4b212fd11fa9ae838afa2c045855a128e496.tar.xz |
Add support for Sandybridge base Samsung ChromeBox
Change-Id: Ic93ad2749834c8f7a2ca1651d343561f2a496312
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/953
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard/samsung/stumpy/acpi/chromeos.asl')
-rw-r--r-- | src/mainboard/samsung/stumpy/acpi/chromeos.asl | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/src/mainboard/samsung/stumpy/acpi/chromeos.asl b/src/mainboard/samsung/stumpy/acpi/chromeos.asl new file mode 100644 index 0000000000..65202cb6d4 --- /dev/null +++ b/src/mainboard/samsung/stumpy/acpi/chromeos.asl @@ -0,0 +1,122 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2011 The ChromiumOS Authors. All rights reserved. + * + * 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; version 2 of the License. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +Device (CRHW) +{ + Name(_HID, EISAID("GGL0001")) + + Method(_STA, 0, Serialized) + { + Return (0xb) + } + + Method(CHSW, 0, Serialized) + { + Name (WSHC, Package() { VBT3 }) + Return (WSHC) + } + + Method(FWID, 0, Serialized) + { + Name (DIW1, "") + ToString(VBT5, 63, DIW1) + Name (DIWF, Package() { DIW1 }) + Return(DIWF) + } + + Method(FRID, 0, Serialized) + { + Name (DIR1, "") + ToString(VBT6, 63, DIR1) + Name (DIRF, Package() { DIR1 }) + Return (DIRF) + } + + Method(HWID, 0, Serialized) + { + Name (DIW0, "") + ToString(VBT4, 255, DIW0) + Name (DIWH, Package() { DIW0 }) + Return (DIWH) + } + + Method(BINF, 0, Serialized) + { + Name (FNIB, Package() { VBT0, VBT1, VBT2, VBT7, VBT8 }) + Return (FNIB) + } + + Method(GPIO, 0, Serialized) + { + Name(OIPG, Package() { + Package() { 0x001, 0, 42, "CougarPoint" }, // recovery button + Package() { 0x002, 1, 17, "CougarPoint" }, // developer switch + Package() { 0x003, 1, 68, "CougarPoint" }, // firmware write protect + Package() { 0x100, 0, 9, "CougarPoint" }, // debug header gpio + Package() { 0x101, 0, 10, "CougarPoint" }, // debug header gpio 1 + Package() { 0x102, 0, 12, "CougarPoint" }, // debug header gpio 2 + Package() { 0x103, 0, 13, "CougarPoint" }, // debug header gpio 3 + Package() { 0x104, 0, 14, "CougarPoint" }, // debug header gpio 4 + Package() { 0x105, 0, 15, "CougarPoint" }, // debug header gpio 5 + Package() { 0x106, 0, 24, "CougarPoint" }, // debug header gpio 6 + Package() { 0x107, 0, 26, "CougarPoint" }, // debug header gpio 7 + }) + Return (OIPG) + + } + + Method(VBNV, 0, Serialized) + { + Name(VNBV, Package() { + // See src/vendorcode/google/chromeos/Kconfig + // for the definition of these: + CONFIG_VBNV_OFFSET, + CONFIG_VBNV_SIZE + }) + Return(VNBV) + } + + Method(VDAT, 0, Serialized) + { + Name(TAD0,"") + ToBuffer(CHVD, TAD0) + Name (TADV, Package() { TAD0 }) + Return (TADV) + } + + Method(FMAP, 0, Serialized) + { + Name(PAMF, Package() { VBT9 }) + Return(PAMF) + } + + Method(MECK, 0, Serialized) + { + Name(HASH, Package() { MEHH }) + Return(HASH) + } + + Method(MLST, 0, Serialized) + { + Name(TSLM, Package() { "CHSW", "FWID", "HWID", "FRID", "BINF", + "GPIO", "VBNV", "VDAT", "FMAP", "MECK" + }) + Return (TSLM) + } +} |