Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4649
-gerrit
commit 4a7aa6610e08b3dbac7b5018ec08cd9192be83f6
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Fri Jan 10 20:40:59 2014 +0100
libpayload: Bring keyboard_wait_write() back
Code is using it...
Change-Id: I6894b45cbbf70c8e7ce37ce18d93cadf0ea9fbfc
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
payloads/libpayload/drivers/keyboard.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/payloads/libpayload/drivers/keyboard.c b/payloads/libpayload/drivers/keyboard.c
index 0175bc7..ddedbd3 100644
--- a/payloads/libpayload/drivers/keyboard.c
+++ b/payloads/libpayload/drivers/keyboard.c
@@ -258,6 +258,16 @@ int keyboard_getchar(void)
return ret;
}
+static int keyboard_wait_write(void)
+{
+ int retries = 10000;
+
+ while(retries-- && (inb(0x64) & 0x02))
+ udelay(50);
+
+ return (retries <= 0) ? -1 : 0;
+}
+
/**
* Set keyboard layout
* @param country string describing the keyboard layout language.
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4648
-gerrit
commit 73484d659450e7cb8a44ee3c47003c187b947793
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Fri Jan 10 20:23:22 2014 +0100
drop hexdump() declaration
Change-Id: I2a2691a33cde3b06111b92d63b81f4e5c2bd3f53
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
include/lib.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/lib.h b/include/lib.h
index e007423..4f1b645 100644
--- a/include/lib.h
+++ b/include/lib.h
@@ -25,8 +25,6 @@
unsigned long long simple_strtoull(const char *cp,char **endp,unsigned int base);
unsigned long long strtoull_with_suffix(const char *cp,char **endp,unsigned int base);
-void hexdump(const void *p, unsigned int len);
-
long long simple_strtoll(const char *cp,char **endp,unsigned int base);
#define abort() halt()
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4647
-gerrit
commit 1ccfb10152371ac6deebba4926cbcf28fd3b6b61
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Fri Jan 10 20:30:16 2014 +0100
filo payload: Fix the build
Also strip down the config that's set since these are actually
SeaBIOS options, not FILO...
Change-Id: I5dbe6255996f9e115699ff2a83fb3450533520ee
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
payloads/external/FILO/Makefile.inc | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/payloads/external/FILO/Makefile.inc b/payloads/external/FILO/Makefile.inc
index 311b3c8..72f86bc 100644
--- a/payloads/external/FILO/Makefile.inc
+++ b/payloads/external/FILO/Makefile.inc
@@ -1,5 +1,5 @@
-TAG-$(CONFIG_FILO_MASTER)=
-NAME-$(CONFIG_FILO_MASTER)=HEAD
+TAG-$(CONFIG_FILO_MASTER)=origin/master
+NAME-$(CONFIG_FILO_MASTER)=MASTER
TAG-$(CONFIG_FILO_STABLE)=4dbb31a64fe5b1c7e3025ab34619220609897646
NAME-$(CONFIG_FILO_STABLE)=STABLE
@@ -13,7 +13,7 @@ checkout:
git clone http://review.coreboot.org/p/filo.git
cd filo && \
git checkout master && \
- git pull; \
+ git remote update && \
test -n $(TAG-y) && \
git branch -f $(NAME-y) $(TAG-y) && \
git checkout $(NAME-y)
@@ -21,14 +21,11 @@ checkout:
config: libpayload
echo " CONFIG FILO $(NAME-y)"
$(MAKE) -C filo defconfig LIBCONFIG_PATH=../../../libpayload
- echo "CONFIG_COREBOOT=y" >> filo/.config
- echo "CONFIG_DEBUG_SERIAL=y" >> filo/.config
- echo "CONFIG_COREBOOT_FLASH=y" >> filo/.config
- echo "CONFIG_LZMA=y" >> filo/.config
- echo "CONFIG_FLASH_FLOPPY=y" >> filo/.config
- echo "CONFIG_VGAHOOKS=y" >> filo/.config
+ # This shows how to force a previously unset .config option *on*
+ #echo "CONFIG_VGAHOOKS=y" >> filo/.config
# This shows how to force a previously set .config option *off*
#echo "# CONFIG_SMBIOS is not set" >> filo/.config
+ $(MAKE) -C filo oldconfig LIBCONFIG_PATH=../../../libpayload
filo: config
echo " MAKE FILO $(NAME-y)"
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4646
-gerrit
commit 03e6030c9ad1669fb1b1924afa1b2bf156e1fed1
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Fri Jan 10 20:01:26 2014 +0100
intel/fsp: Fix microcode including
IS_ENABLED() requires the full define (incl. CONFIG_ prefix)
Change-Id: I91d504367c75ce3fcecc6fa2499afaa0896595d3
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
src/cpu/intel/fsp_model_206ax/microcode_blob.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cpu/intel/fsp_model_206ax/microcode_blob.c b/src/cpu/intel/fsp_model_206ax/microcode_blob.c
index 309ea75..f4893e8 100644
--- a/src/cpu/intel/fsp_model_206ax/microcode_blob.c
+++ b/src/cpu/intel/fsp_model_206ax/microcode_blob.c
@@ -18,7 +18,7 @@
*/
unsigned microcode[] = {
-#if IS_ENABLED(SUPPORT_CPU_UCODE_IN_CBFS)
+#if IS_ENABLED(CONFIG_SUPPORT_CPU_UCODE_IN_CBFS)
#include "microcode_blob.h"
#endif
};
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4644
-gerrit
commit d0453bbdc34451d0e57ea9b7693c88a0aefc533f
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Fri Jan 10 19:41:54 2014 +0100
lint: check label style only on changed files
This should probably propagate to the other lint checks.
The idea: only enforce style on files that were at least touched
by the developer.
Change-Id: I5ac690ee726e27e80e790fa9a41cd14b84ad2161
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
util/lint/lint-stable-004-style-labels | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/lint/lint-stable-004-style-labels b/util/lint/lint-stable-004-style-labels
index 31ad74e..10b0408 100755
--- a/util/lint/lint-stable-004-style-labels
+++ b/util/lint/lint-stable-004-style-labels
@@ -19,4 +19,4 @@
# DESCR: Check that C labels begin at start-of-line
LC_ALL=C export LC_ALL
-find src -name '*.[scS]' -exec grep '^[[:space:]][[:space:]]*[a-z][a-z]*:[[:space:]]*$' {} + |grep -v "[^a-z_]default:"
+git diff --name-status |grep -v "^D" |cut -c3- |grep "^src/.*\.[csS]" | xargs grep -Hn '^[[:space:]][[:space:]]*[a-z][a-z]*:[[:space:]]*$' |grep -v "[^a-z_]default:"
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4642
-gerrit
commit 304bc2d06bea596c6084e9fd8f06c80cb2e8a7ec
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Fri Jan 10 19:28:18 2014 +0100
3rdparty: update to current HEAD
It includes a sandybridge fix.
Change-Id: I84ff1ac1622b10a4a4aa42517bac0c024c386998
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
3rdparty | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/3rdparty b/3rdparty
index aebd218..324ec3c 160000
--- a/3rdparty
+++ b/3rdparty
@@ -1 +1 @@
-Subproject commit aebd21811dc9c9a171e629150d9d8a239a8b0338
+Subproject commit 324ec3cb642a278d6d97ae809bc6098045bc6e65
the following patch was just integrated into master:
commit a092df0d335aa05256e05fcee9f39f5d36096658
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Tue Nov 26 02:42:52 2013 +0100
Remove sprintf
Remove sprintf as if you can't easily use snprintf then you probably
have buffer overflow.
Change-Id: Ic4570e099a52d743aca938a2bfadb95981adc503
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
See http://review.coreboot.org/4280 for details.
-gerrit