arm: Include asm/setup.h explictly
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 14:23:00 +0000 (08:23 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 15:02:37 +0000 (11:02 -0400)
Include this header where needed so we do not need to rely on common.h.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/omap_common.h
arch/arm/mach-omap2/utils.c
board/Synology/ds109/ds109.c
board/bluegiga/apx4devkit/apx4devkit.c
board/compulab/common/common.c
board/compulab/common/eeprom.c
board/esd/meesc/meesc.c
board/gateworks/gw_ventana/gw_ventana.c
board/lego/ev3/legoev3.c
board/sunxi/board.c
board/toradex/common/tdx-common.c

index c1a70b15d02ecad1846688ce4af0da3cd1fc558e..f98998343eab2746fa573e123dd2ec07de26513c 100644 (file)
@@ -638,6 +638,8 @@ void abb_setup(u32 fuse, u32 ldovbb, u32 setup, u32 control,
               u32 txdone, u32 txdone_mask, u32 opp);
 s8 abb_setup_ldovbb(u32 fuse, u32 ldovbb);
 
+struct tag_serialnr;
+
 void omap_die_id_serial(void);
 void omap_die_id_get_board_serial(struct tag_serialnr *serialnr);
 void omap_die_id_usbethaddr(void);
index 2d03ebfbd3da42c2fca1c723fe71f943a5cc2de3..e0e32123dcddee36b5ccedc48b42d6282501b944 100644 (file)
@@ -5,6 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
+#include <asm/setup.h>
 #include <asm/arch/sys_proto.h>
 static void do_cancel_out(u32 *num, u32 *den, u32 factor)
 {
index b46c09d648b1f0073dd62849f8a7efa11b5a353a..0c2f5258e990dcfdf8e336c8ee9a87bbddd971d8 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <miiphy.h>
+#include <asm/setup.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <asm/arch/mpp.h>
index 08e79bd7ac48a2ef78bd7f6ff0871dc085330c4b..2215c29c9c625c1ffddb4508b86ddc8b740eff37 100644 (file)
@@ -17,6 +17,7 @@
 #include <common.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
+#include <asm/setup.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux-mx28.h>
 #include <asm/arch/clock.h>
index b25d9a20b40321e2c9e91f7c3627e6076c6f3d1c..bf2ac7bd7f9c46446e2405e531e23ebdf4058576 100644 (file)
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <asm/bootm.h>
 #include <asm/gpio.h>
+#include <asm/setup.h>
 
 #include "common.h"
 #include "eeprom.h"
index b5f1aa61cb8dd135ee10165c847fa555f9908a9e..bb4c9e9740ce574dd9bd85978ab270bdf69266f2 100644 (file)
@@ -11,6 +11,7 @@
 #include <i2c.h>
 #include <eeprom_layout.h>
 #include <eeprom_field.h>
+#include <asm/setup.h>
 #include <linux/kernel.h>
 #include "eeprom.h"
 
index 037cf074ea284bee5c5d41ba48e573a42b9a2a9d..e4bda7909ac879349d8695cfd8556b30eb842954 100644 (file)
@@ -14,6 +14,7 @@
 #include <asm/io.h>
 #include <asm/gpio.h>
 #include <asm/mach-types.h>
+#include <asm/setup.h>
 #include <asm/arch/at91sam9_smc.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/at91_pmc.h>
index a68ec69f1886d05e2739cfe65c373d7fa1bc9a71..6b950eeb218a288b29f2d5503a6af3e02f651781 100644 (file)
@@ -19,6 +19,7 @@
 #include <asm/imx-common/spi.h>
 #include <asm/imx-common/video.h>
 #include <asm/io.h>
+#include <asm/setup.h>
 #include <dm.h>
 #include <dm/platform_data/serial_mxc.h>
 #include <hwconfig.h>
index 3d6de11798a420eb9bf911a9d08de3ef15372f23..26534394aba5ced9514f1dab5ee323f13f6a459d 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/errno.h>
 #include <hwconfig.h>
 #include <asm/mach-types.h>
+#include <asm/setup.h>
 
 #ifdef CONFIG_MMC_DAVINCI
 #include <mmc.h>
index f79bd5c62c193b3034e69eb2d9463e1689c2e116..800f412b383ddf9ac90972e50a684c534d40fea4 100644 (file)
@@ -33,6 +33,7 @@
 #include <nand.h>
 #include <net.h>
 #include <sy8106a.h>
+#include <asm/setup.h>
 
 #if defined CONFIG_VIDEO_LCD_PANEL_I2C && !(defined CONFIG_SPL_BUILD)
 /* So that we can use pin names in Kconfig and sunxi_name_to_gpio() */
index 2c6fc409c109c023b5f9afd0eb66160ddaa361ab..0d267877fa4f38ba3b8b8a67cb70855d956a8cef 100644 (file)
@@ -9,6 +9,7 @@
 #include <libfdt.h>
 
 #include "tdx-cfg-block.h"
+#include <asm/setup.h>
 #include "tdx-common.h"
 
 #ifdef CONFIG_TDX_CFG_BLOCK