Vladimir Serbinenko (phcoder(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4617
-gerrit
commit 1e9e51338c2285273a6cc67fa4976dd6d849fcb6
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Jan 5 06:50:10 2014 +0100
acpi/ec: Add missing delay
Without this delay on fast systems like X230 the port is read before it's
updated.
Change-Id: I3e01fc348cc5170cec108a05095ba301055ed6b0
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
---
src/ec/acpi/ec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/ec/acpi/ec.c b/src/ec/acpi/ec.c
index ab287d6..84e2730 100644
--- a/src/ec/acpi/ec.c
+++ b/src/ec/acpi/ec.c
@@ -104,6 +104,8 @@ u8 recv_ec_data(void)
// return -1;
}
+ udelay(10);
+
data = inb(ec_data_reg);
printk(BIOS_SPEW, "recv_ec_data: 0x%02x\n", data);
Vladimir Serbinenko (phcoder(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4615
-gerrit
commit e013fb857744f3e2c58b88635c2bbbbe05acbc1e
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Jan 5 06:40:36 2014 +0100
ROMSIZE: Add option for 12M chips.
On X230 2 real chips (8 + 4) are merged into one virtual 12M chip.
Change-Id: I04e676e4a0a5b074d8a45dbfa8a595629fd1b66d
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
---
src/mainboard/Kconfig | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index fc38994..6da958f 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -225,6 +225,8 @@ config BOARD_ROMSIZE_KB_4096
bool
config BOARD_ROMSIZE_KB_8192
bool
+config BOARD_ROMSIZE_KB_12288
+ bool
config BOARD_ROMSIZE_KB_16384
bool
@@ -239,6 +241,7 @@ choice
default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
default COREBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
+ default COREBOOT_ROMSIZE_KB_12288 if BOARD_ROMSIZE_KB_12288
default COREBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384
help
Select the size of the ROM chip you intend to flash coreboot on.
@@ -286,6 +289,11 @@ config COREBOOT_ROMSIZE_KB_8192
help
Choose this option if you have a 8192 KB (8 MB) ROM chip.
+config COREBOOT_ROMSIZE_KB_12288
+ bool "12288 KB (12 MB)"
+ help
+ Choose this option if you have a 12288 KB (12 MB) ROM chip.
+
config COREBOOT_ROMSIZE_KB_16384
bool "16384 KB (16 MB)"
help
@@ -304,6 +312,7 @@ config COREBOOT_ROMSIZE_KB
default 2048 if COREBOOT_ROMSIZE_KB_2048
default 4096 if COREBOOT_ROMSIZE_KB_4096
default 8192 if COREBOOT_ROMSIZE_KB_8192
+ default 12288 if COREBOOT_ROMSIZE_KB_12288
default 16384 if COREBOOT_ROMSIZE_KB_16384
# Map the config names to a hex value (bytes).
@@ -317,6 +326,7 @@ config ROM_SIZE
default 0x200000 if COREBOOT_ROMSIZE_KB_2048
default 0x400000 if COREBOOT_ROMSIZE_KB_4096
default 0x800000 if COREBOOT_ROMSIZE_KB_8192
+ default 0xc00000 if COREBOOT_ROMSIZE_KB_12288
default 0x1000000 if COREBOOT_ROMSIZE_KB_16384
config ENABLE_POWER_BUTTON