
From: Simon Glass <sjg@chromium.org> The post system requires use of CFG_xxx values which are only included via the config.h header. Most files don't include this now. The serial.h header includes post.h which causes a build error on any platform which enables CONFIG_POST, such as pg_wcom_seli8 Add an explicit #include of config.h in the post.h header file. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) include/post.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/post.h b/include/post.h index da851e37fa2..74039e56e29 100644 --- a/include/post.h +++ b/include/post.h @@ -15,6 +15,8 @@ #if defined(CONFIG_POST) +#include <config.h> + #ifndef CFG_POST_EXTERNAL_WORD_FUNCS #ifdef CFG_SYS_POST_WORD_ADDR #define _POST_WORD_ADDR CFG_SYS_POST_WORD_ADDR -- 2.43.0