Marc Jones (marc.jones@se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7909
-gerrit
commit 6f8bc785543af06b7c9e8726171d41e14dc572ec Author: Vadim Bendebury vbendeb@chromium.org Date: Thu May 15 14:06:29 2014 -0700
Fix libpayload build compilation warnings
When emerging libpayload a warning is generated about selfboot() being defined without a prior prototype.
Addinf cbfs.h when CBFS use if compiled fixes the warning.
BUG=none TEST=build rambi storm nyan_big verify that there is no compilation warnings thrown any more
Original-Change-Id: Ic9cb5571f708bb006a0d477e451fd1f3b3eb833f Original-Signed-off-by: Vadim Bendebury vbendeb@chromium.org Original-Reviewed-on: https://chromium-review.googlesource.com/200099 Original-Reviewed-by: Hung-Te Lin hungte@chromium.org (cherry picked from commit 7e4aa17936b70dd08f58b3a55c6db55ea03709d7) Signed-off-by: Marc Jones marc.jones@se-eng.com
Change-Id: Ie3baaaca82fb6ec432860c638acb2a3ef9451469 --- payloads/libpayload/include/libpayload.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index 824e96e..1d4d0da 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -60,6 +60,9 @@ #ifdef CONFIG_LP_LAR #include <lar.h> #endif +#ifdef CONFIG_LP_CBFS +#include <cbfs.h> +#endif
#define MIN(a,b) ((a) < (b) ? (a) : (b)) #define MAX(a,b) ((a) > (b) ? (a) : (b))