summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-10-17 20:12:36 -0600
committerTom Rini <trini@konsulko.com>2016-10-23 18:33:19 -0400
commit8f925584145efecd9a6323801689cffd69cf0b09 (patch)
tree82accc506b462a88717656ea4cea2deab308acf7 /include/asm-generic
parent98af87997670af840ef178f76b4d6888534a6700 (diff)
downloadu-boot-imx-8f925584145efecd9a6323801689cffd69cf0b09.zip
u-boot-imx-8f925584145efecd9a6323801689cffd69cf0b09.tar.gz
u-boot-imx-8f925584145efecd9a6323801689cffd69cf0b09.tar.bz2
Convert CONSOLE_PRE_CONSOLE_BUFFER options to Kconfig
Move these option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/global_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index dc4cbdb..e02863d 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -45,7 +45,7 @@ typedef struct global_data {
unsigned long board_type;
#endif
unsigned long have_console; /* serial_init() was called */
-#ifdef CONFIG_PRE_CONSOLE_BUFFER
+#if CONFIG_IS_ENABLED(PRE_CONSOLE_BUFFER)
unsigned long precon_buf_idx; /* Pre-Console buffer index */
#endif
unsigned long env_addr; /* Address of Environment struct */