]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: keymile: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Wed, 1 May 2024 02:42:05 +0000 (20:42 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 May 2024 14:00:25 +0000 (08:00 -0600)
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Reviewed-By: Holger Brunck <holger.brunck@hitachienergy.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/keymile/common/common.c
board/keymile/common/ivm.c
board/keymile/common/qrio.c
board/keymile/km83xx/km83xx.c
board/keymile/pg-wcom-ls102xa/ddr.c
board/keymile/secu1/socfpga.c

index 991022ac833a2195ca4438237471fa370faf8eda..9358c25dcb05151547268bf4655aacfea78de3ee 100644 (file)
@@ -7,7 +7,7 @@
  * Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.com
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <ioports.h>
 #include <command.h>
index 67db0c50f47c1e80b49ae6d0fadf6e946747f67f..f01fe44303c902df294701cb7130809ee9fdc64a 100644 (file)
@@ -4,10 +4,11 @@
  * Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.com
  */
 
-#include <common.h>
 #include <cli_hush.h>
 #include <env.h>
 #include <i2c.h>
+#include <stdio.h>
+#include <vsprintf.h>
 #include "common.h"
 
 #define MAC_STR_SZ     20
index b433f69675abad4fd1ab9f0e4347f0897f17576a..c8299483299d732c43e7e344aaae1e4e1fd36f78 100644 (file)
@@ -4,7 +4,7 @@
  * Valentin Longchamp <valentin.longchamp@keymile.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
 
index acd13105dd55e729d9977b85ac9c2bf13462d9b0..40718aa58a7b568a1839f432d29af9eec41c53c5 100644 (file)
@@ -13,7 +13,7 @@
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <event.h>
 #include <fdt_support.h>
index 556d39d4d4e3c0a3eda43948933c523779da5e4d..51938a1b4d8875fc2dd23686e17d89ef02801b51 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2020 Hitachi Power Grids. All rights reserved.
  */
 
-#include <common.h>
+#include <config.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <asm/io.h>
index 6a4cb21786ac07bdf7e3dff3b3aaf651b3711903..1a626c520680057e4a826e319fed0e27c1059d4f 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2017-2020 Hitachi Power Grids
  */
-#include <common.h>
 #include <i2c.h>
 #include <asm/gpio.h>