summaryrefslogtreecommitdiff
path: root/drivers/fpga/spartan3.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-05-01 19:30:47 -0600
committerTom Rini <trini@konsulko.com>2024-05-07 08:00:53 -0600
commitd9a83cf44fb04d86d3068b1606f75e695c0ec1b8 (patch)
treee8cca62bdbca1573e0503ea22bf0fcd06f415cc6 /drivers/fpga/spartan3.c
parentb032d7aab7fb3899ba6b119be7699c6ed7235918 (diff)
fpga: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/fpga/spartan3.c')
-rw-r--r--drivers/fpga/spartan3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/fpga/spartan3.c b/drivers/fpga/spartan3.c
index e892fa571f1..b4d87d47d93 100644
--- a/drivers/fpga/spartan3.c
+++ b/drivers/fpga/spartan3.c
@@ -11,8 +11,9 @@
#define LOG_CATEGORY UCLASS_FPGA
-#include <common.h> /* core U-Boot definitions */
+#include <config.h> /* core U-Boot definitions */
#include <log.h>
+#include <time.h>
#include <spartan3.h> /* Spartan-II device family */
/* Note: The assumption is that we cannot possibly run fast enough to