aboutsummaryrefslogtreecommitdiff
path: root/include/serial.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-19 18:45:44 -0500
committerTom Rini <trini@konsulko.com>2022-12-05 16:11:50 -0500
commit9cebc4ad8ebe6832c6d0eca786a85533a3b54ce4 (patch)
tree991419da6908e988faf815bafec3a7c01f8e9d8a /include/serial.h
parentd948c8988c212bc8fe94db556b7ef265d2e96452 (diff)
downloadu-boot-9cebc4ad8ebe6832c6d0eca786a85533a3b54ce4.zip
u-boot-9cebc4ad8ebe6832c6d0eca786a85533a3b54ce4.tar.gz
u-boot-9cebc4ad8ebe6832c6d0eca786a85533a3b54ce4.tar.bz2
post: Migrate to Kconfig
We move the existing CONFIG_POST_* functionality over to CFG_POST and then introduce CONFIG_POST to Kconfig. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/serial.h')
-rw-r--r--include/serial.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/serial.h b/include/serial.h
index fe01bcf..f4d7dc5 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -14,7 +14,7 @@ struct serial_device {
int (*tstc)(void);
void (*putc)(const char c);
void (*puts)(const char *s);
-#if CONFIG_POST & CONFIG_SYS_POST_UART
+#if CFG_POST & CONFIG_SYS_POST_UART
void (*loop)(int);
#endif
struct serial_device *next;
@@ -242,7 +242,7 @@ struct dm_serial_ops {
* @return 0 if OK, -ve on error
*/
int (*clear)(struct udevice *dev);
-#if CONFIG_POST & CONFIG_SYS_POST_UART
+#if CFG_POST & CONFIG_SYS_POST_UART
/**
* loop() - Control serial device loopback mode
*