summaryrefslogtreecommitdiff
path: root/post/drivers
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-04-27 08:11:06 -0600
committerTom Rini <[email protected]>2024-05-06 15:05:04 -0600
commit9c51981d96f10c6a33bcb09f076efddf4154f853 (patch)
treefcebd29c80ad15bd798903e2090eefa02022d0e3 /post/drivers
parent8d28959d700aa537650b5e62c63d49d3b807e809 (diff)
post: Remove <common.h> and add needed includes
Remove <common.h> from all "post/" files and when needed add missing include files directly. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'post/drivers')
-rw-r--r--post/drivers/flash.c2
-rw-r--r--post/drivers/i2c.c2
-rw-r--r--post/drivers/memory.c2
-rw-r--r--post/drivers/rtc.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/post/drivers/flash.c b/post/drivers/flash.c
index a1fcf1f135d..21e2f940fe9 100644
--- a/post/drivers/flash.c
+++ b/post/drivers/flash.c
@@ -7,7 +7,7 @@
*/
#if CFG_POST & CFG_SYS_POST_FLASH
-#include <common.h>
+#include <config.h>
#include <malloc.h>
#include <post.h>
#include <flash.h>
diff --git a/post/drivers/i2c.c b/post/drivers/i2c.c
index 557d6329a4f..11c3c832352 100644
--- a/post/drivers/i2c.c
+++ b/post/drivers/i2c.c
@@ -21,7 +21,7 @@
* #endif
*/
-#include <common.h>
+#include <config.h>
#include <log.h>
#include <post.h>
#include <i2c.h>
diff --git a/post/drivers/memory.c b/post/drivers/memory.c
index 1be2b41df45..8d4ae6fc6f1 100644
--- a/post/drivers/memory.c
+++ b/post/drivers/memory.c
@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, [email protected].
*/
-#include <common.h>
+#include <config.h>
#include <log.h>
#include <asm/global_data.h>
diff --git a/post/drivers/rtc.c b/post/drivers/rtc.c
index cc7a49847cc..030954ef3dc 100644
--- a/post/drivers/rtc.c
+++ b/post/drivers/rtc.c
@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, [email protected].
*/
-#include <common.h>
+#include <config.h>
/*
* RTC test