diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:40:13 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 21:19:23 -0400 |
commit | cd93d625fd751d55c729c78b10f82109d56a5f1d (patch) | |
tree | 158fd30f3d06142f6a99cbae6ed8ccb0f3be567b /board | |
parent | f09f1ecbe77863ecefe586ccd6000064b49105a3 (diff) | |
download | u-boot-cd93d625fd751d55c729c78b10f82109d56a5f1d.tar.gz u-boot-cd93d625fd751d55c729c78b10f82109d56a5f1d.tar.xz u-boot-cd93d625fd751d55c729c78b10f82109d56a5f1d.zip |
common: Drop linux/bitops.h from common header
Move this uncommon header out of the common header.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board')
77 files changed, 78 insertions, 0 deletions
diff --git a/board/CZ.NIC/turris_mox/mox_sp.c b/board/CZ.NIC/turris_mox/mox_sp.c index 8139345ff2..cc57b9f095 100644 --- a/board/CZ.NIC/turris_mox/mox_sp.c +++ b/board/CZ.NIC/turris_mox/mox_sp.c @@ -6,6 +6,7 @@ #include <common.h> #include <asm/arch/soc.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/delay.h> #define RWTM_BASE (MVEBU_REGISTER(0xb0000)) diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c b/board/CZ.NIC/turris_omnia/turris_omnia.c index 25759e09ec..2da878d364 100644 --- a/board/CZ.NIC/turris_omnia/turris_omnia.c +++ b/board/CZ.NIC/turris_omnia/turris_omnia.c @@ -21,6 +21,7 @@ #include <dm/uclass.h> #include <fdt_support.h> #include <time.h> +#include <linux/bitops.h> #include <u-boot/crc.h> # include <atsha204a-i2c.h> diff --git a/board/Marvell/db-88f6281-bp/db-88f6281-bp.c b/board/Marvell/db-88f6281-bp/db-88f6281-bp.c index a6f1167e39..62027bd638 100644 --- a/board/Marvell/db-88f6281-bp/db-88f6281-bp.c +++ b/board/Marvell/db-88f6281-bp/db-88f6281-bp.c @@ -3,6 +3,7 @@ #include <common.h> #include <init.h> #include <net.h> +#include <linux/bitops.h> #include <linux/io.h> #include <miiphy.h> #include <netdev.h> diff --git a/board/Marvell/db-88f6720/db-88f6720.c b/board/Marvell/db-88f6720/db-88f6720.c index ba0a944b9a..e9897b3976 100644 --- a/board/Marvell/db-88f6720/db-88f6720.c +++ b/board/Marvell/db-88f6720/db-88f6720.c @@ -11,6 +11,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/bitops.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/Marvell/db-88f6820-amc/db-88f6820-amc.c b/board/Marvell/db-88f6820-amc/db-88f6820-amc.c index f225f467bf..60ce940e1d 100644 --- a/board/Marvell/db-88f6820-amc/db-88f6820-amc.c +++ b/board/Marvell/db-88f6820-amc/db-88f6820-amc.c @@ -12,6 +12,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/bitops.h> #include "../drivers/ddr/marvell/a38x/ddr3_init.h" #include <../serdes/a38x/high_speed_env_spec.h> diff --git a/board/Marvell/db-88f6820-gp/db-88f6820-gp.c b/board/Marvell/db-88f6820-gp/db-88f6820-gp.c index 53a80c949b..08a3c1cc80 100644 --- a/board/Marvell/db-88f6820-gp/db-88f6820-gp.c +++ b/board/Marvell/db-88f6820-gp/db-88f6820-gp.c @@ -12,6 +12,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/bitops.h> #include "../drivers/ddr/marvell/a38x/ddr3_init.h" #include <../serdes/a38x/high_speed_env_spec.h> diff --git a/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c b/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c index cb65357844..63bb771ab3 100644 --- a/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c +++ b/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c @@ -11,6 +11,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/bitops.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c b/board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c index 1153b188e7..5f12a27002 100644 --- a/board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c +++ b/board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c @@ -7,6 +7,7 @@ #include <i2c.h> #include <init.h> #include <asm/gpio.h> +#include <linux/bitops.h> #include <linux/mbus.h> #include <linux/io.h> #include <asm/arch/cpu.h> diff --git a/board/Synology/ds414/ds414.c b/board/Synology/ds414/ds414.c index deb530fe78..632205164e 100644 --- a/board/Synology/ds414/ds414.c +++ b/board/Synology/ds414/ds414.c @@ -10,6 +10,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/bitops.h> #include <linux/mbus.h> #include "../drivers/ddr/marvell/axp/ddr3_hw_training.h" diff --git a/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c b/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c index 982cb157b7..668484b71b 100644 --- a/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c +++ b/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c @@ -7,6 +7,7 @@ #include <common.h> #include <init.h> #include <net.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/io.h> #include <miiphy.h> diff --git a/board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c b/board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c index 5c9124fbb4..e4bf507cc3 100644 --- a/board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c +++ b/board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c @@ -10,6 +10,7 @@ #include <net.h> #include <netdev.h> #include <led.h> +#include <linux/bitops.h> #include <linux/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> diff --git a/board/alliedtelesis/x530/x530.c b/board/alliedtelesis/x530/x530.c index 1a6dec04a3..c7438aeaf1 100644 --- a/board/alliedtelesis/x530/x530.c +++ b/board/alliedtelesis/x530/x530.c @@ -11,6 +11,7 @@ #include <init.h> #include <wdt.h> #include <asm/gpio.h> +#include <linux/bitops.h> #include <linux/mbus.h> #include <linux/io.h> #include <asm/arch/cpu.h> diff --git a/board/cortina/presidio-asic/presidio.c b/board/cortina/presidio-asic/presidio.c index 427151c8df..3c132f1271 100644 --- a/board/cortina/presidio-asic/presidio.c +++ b/board/cortina/presidio-asic/presidio.c @@ -9,6 +9,7 @@ #include <errno.h> #include <netdev.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/compiler.h> #include <configs/presidio_asic.h> #include <linux/psci.h> diff --git a/board/dhelectronics/dh_stm32mp1/board.c b/board/dhelectronics/dh_stm32mp1/board.c index c7d316eab4..26e827bc38 100644 --- a/board/dhelectronics/dh_stm32mp1/board.c +++ b/board/dhelectronics/dh_stm32mp1/board.c @@ -32,6 +32,7 @@ #include <mtd_node.h> #include <netdev.h> #include <phy.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <power/regulator.h> #include <remoteproc.h> diff --git a/board/firefly/firefly-rk3308/roc_cc_rk3308.c b/board/firefly/firefly-rk3308/roc_cc_rk3308.c index 5f0a6594b6..28dcc2a690 100644 --- a/board/firefly/firefly-rk3308/roc_cc_rk3308.c +++ b/board/firefly/firefly-rk3308/roc_cc_rk3308.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <asm/arch/grf_rk3308.h> #include <asm/arch-rockchip/hardware.h> +#include <linux/bitops.h> #if defined(CONFIG_DEBUG_UART) #define GRF_BASE 0xff000000 diff --git a/board/freescale/imx8mq_evk/imx8mq_evk.c b/board/freescale/imx8mq_evk/imx8mq_evk.c index b2f464abb1..ae3be5785c 100644 --- a/board/freescale/imx8mq_evk/imx8mq_evk.c +++ b/board/freescale/imx8mq_evk/imx8mq_evk.c @@ -21,6 +21,7 @@ #include <asm/mach-imx/mxc_i2c.h> #include <asm/arch/clock.h> #include <spl.h> +#include <linux/bitops.h> #include <power/pmic.h> #include <power/pfuze100_pmic.h> #include "../common/pfuze.h" diff --git a/board/freescale/lx2160a/lx2160a.c b/board/freescale/lx2160a/lx2160a.c index fba068c824..88eb66b03b 100644 --- a/board/freescale/lx2160a/lx2160a.c +++ b/board/freescale/lx2160a/lx2160a.c @@ -16,6 +16,7 @@ #include <fsl_sec.h> #include <asm/io.h> #include <fdt_support.h> +#include <linux/bitops.h> #include <linux/libfdt.h> #include <fsl-mc/fsl_mc.h> #include <env_internal.h> diff --git a/board/freescale/mpc8349emds/mpc8349emds.c b/board/freescale/mpc8349emds/mpc8349emds.c index 688bffae79..576f04c144 100644 --- a/board/freescale/mpc8349emds/mpc8349emds.c +++ b/board/freescale/mpc8349emds/mpc8349emds.c @@ -9,6 +9,7 @@ #include <init.h> #include <ioports.h> #include <mpc83xx.h> +#include <asm/bitops.h> #include <asm/mpc8349_pci.h> #include <i2c.h> #include <spi.h> diff --git a/board/freescale/mpc8349itx/mpc8349itx.c b/board/freescale/mpc8349itx/mpc8349itx.c index 074f3d2928..3993d58515 100644 --- a/board/freescale/mpc8349itx/mpc8349itx.c +++ b/board/freescale/mpc8349itx/mpc8349itx.c @@ -17,6 +17,7 @@ #include <pci.h> #endif #include <spd_sdram.h> +#include <asm/bitops.h> #include <asm/mmu.h> #if defined(CONFIG_OF_LIBFDT) #include <linux/libfdt.h> diff --git a/board/freescale/mpc837xemds/mpc837xemds.c b/board/freescale/mpc837xemds/mpc837xemds.c index d53c861807..182391ca9c 100644 --- a/board/freescale/mpc837xemds/mpc837xemds.c +++ b/board/freescale/mpc837xemds/mpc837xemds.c @@ -9,6 +9,7 @@ #include <i2c.h> #include <init.h> #include <net.h> +#include <asm/bitops.h> #include <asm/io.h> #include <asm/fsl_mpc83xx_serdes.h> #include <spd_sdram.h> diff --git a/board/freescale/mpc837xerdb/mpc837xerdb.c b/board/freescale/mpc837xerdb/mpc837xerdb.c index 3fd2c5e849..94cb93a42d 100644 --- a/board/freescale/mpc837xerdb/mpc837xerdb.c +++ b/board/freescale/mpc837xerdb/mpc837xerdb.c @@ -10,6 +10,7 @@ #include <hwconfig.h> #include <i2c.h> #include <init.h> +#include <asm/bitops.h> #include <asm/io.h> #include <asm/fsl_mpc83xx_serdes.h> #include <fdt_support.h> diff --git a/board/gdsys/a38x/ihs_phys.c b/board/gdsys/a38x/ihs_phys.c index 2ef3b3ab27..c23d150921 100644 --- a/board/gdsys/a38x/ihs_phys.c +++ b/board/gdsys/a38x/ihs_phys.c @@ -2,6 +2,7 @@ #include <dm.h> #include <miiphy.h> #include <asm-generic/gpio.h> +#include <linux/bitops.h> #include <linux/delay.h> #include "ihs_phys.h" diff --git a/board/gdsys/common/cmd_ioloop.c b/board/gdsys/common/cmd_ioloop.c index 3b4494c59f..3ea2bec8eb 100644 --- a/board/gdsys/common/cmd_ioloop.c +++ b/board/gdsys/common/cmd_ioloop.c @@ -7,6 +7,7 @@ #include <common.h> #include <command.h> #include <console.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <gdsys_fpga.h> diff --git a/board/gdsys/common/ioep-fpga.c b/board/gdsys/common/ioep-fpga.c index 066222c563..7292d7ab5a 100644 --- a/board/gdsys/common/ioep-fpga.c +++ b/board/gdsys/common/ioep-fpga.c @@ -9,6 +9,7 @@ #include <common.h> #include <gdsys_fpga.h> +#include <linux/bitops.h> enum pcb_video_type { PCB_DVI_SL, @@ -443,6 +444,7 @@ static int get_features(unsigned int fpga, struct fpga_features *features) return 0; } +#include <linux/bitops.h> #endif bool ioep_fpga_has_osd(unsigned int fpga) diff --git a/board/gdsys/mpc8308/hrcon.c b/board/gdsys/mpc8308/hrcon.c index 90946cc34e..d206f8f0c5 100644 --- a/board/gdsys/mpc8308/hrcon.c +++ b/board/gdsys/mpc8308/hrcon.c @@ -11,6 +11,7 @@ #include <i2c.h> #include <init.h> #include <spi.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> diff --git a/board/gdsys/mpc8308/strider.c b/board/gdsys/mpc8308/strider.c index 9b82c949b3..b3af8fec91 100644 --- a/board/gdsys/mpc8308/strider.c +++ b/board/gdsys/mpc8308/strider.c @@ -11,6 +11,7 @@ #include <i2c.h> #include <init.h> #include <spi.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> diff --git a/board/hisilicon/poplar/poplar.c b/board/hisilicon/poplar/poplar.c index 8e2dd5fa50..371c3c33fc 100644 --- a/board/hisilicon/poplar/poplar.c +++ b/board/hisilicon/poplar/poplar.c @@ -13,6 +13,7 @@ #include <dm/platform_data/serial_pl01x.h> #include <asm/arch/hi3798cv200.h> #include <asm/armv8/mmu.h> +#include <linux/bitops.h> #include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/ids/ids8313/ids8313.c b/board/ids/ids8313/ids8313.c index 2065a5a7db..d0d34012d7 100644 --- a/board/ids/ids8313/ids8313.c +++ b/board/ids/ids8313/ids8313.c @@ -16,6 +16,7 @@ #include <init.h> #include <mpc83xx.h> #include <spi.h> +#include <asm/bitops.h> #include <linux/delay.h> #include <linux/libfdt.h> diff --git a/board/imgtec/ci20/ci20.c b/board/imgtec/ci20/ci20.c index e87ea0a7ad..5339b9e9f9 100644 --- a/board/imgtec/ci20/ci20.c +++ b/board/imgtec/ci20/ci20.c @@ -13,6 +13,7 @@ #include <netdev.h> #include <asm/io.h> #include <asm/gpio.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <mach/jz4780.h> #include <mach/jz4780_dram.h> diff --git a/board/keymile/common/qrio.c b/board/keymile/common/qrio.c index 0cb33663aa..06a4e67881 100644 --- a/board/keymile/common/qrio.c +++ b/board/keymile/common/qrio.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <linux/bitops.h> #include "common.h" #include "qrio.h" diff --git a/board/menlo/m53menlo/m53menlo.c b/board/menlo/m53menlo/m53menlo.c index 70a13aa17b..58a564ac31 100644 --- a/board/menlo/m53menlo/m53menlo.c +++ b/board/menlo/m53menlo/m53menlo.c @@ -26,6 +26,7 @@ #include <gzip.h> #include <i2c.h> #include <ipu_pixfmt.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <linux/fb.h> #include <mmc.h> diff --git a/board/mikrotik/crs305-1g-4s/crs305-1g-4s.c b/board/mikrotik/crs305-1g-4s/crs305-1g-4s.c index 4b67a4ba2d..8b419ef6f7 100644 --- a/board/mikrotik/crs305-1g-4s/crs305-1g-4s.c +++ b/board/mikrotik/crs305-1g-4s/crs305-1g-4s.c @@ -7,6 +7,7 @@ #include <i2c.h> #include <init.h> #include <asm/gpio.h> +#include <linux/bitops.h> #include <linux/mbus.h> #include <linux/io.h> #include <asm/arch/cpu.h> diff --git a/board/mscc/common/spi.c b/board/mscc/common/spi.c index 0566fcba5c..45b9649336 100644 --- a/board/mscc/common/spi.c +++ b/board/mscc/common/spi.c @@ -6,6 +6,7 @@ #include <common.h> #include <asm/io.h> #include <spi.h> +#include <linux/bitops.h> void external_cs_manage(struct udevice *dev, bool enable) { diff --git a/board/mscc/jr2/jr2.c b/board/mscc/jr2/jr2.c index f806576b90..51700f4acf 100644 --- a/board/mscc/jr2/jr2.c +++ b/board/mscc/jr2/jr2.c @@ -9,6 +9,7 @@ #include <asm/io.h> #include <led.h> #include <miiphy.h> +#include <linux/bitops.h> #include <linux/delay.h> enum { diff --git a/board/mscc/ocelot/ocelot.c b/board/mscc/ocelot/ocelot.c index a5345360fe..74e8bfc431 100644 --- a/board/mscc/ocelot/ocelot.c +++ b/board/mscc/ocelot/ocelot.c @@ -14,6 +14,7 @@ #include <led.h> #include <wait_bit.h> #include <miiphy.h> +#include <linux/bitops.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/netgear/dgnd3700v2/dgnd3700v2.c b/board/netgear/dgnd3700v2/dgnd3700v2.c index d9c0200f24..cfc3529c34 100644 --- a/board/netgear/dgnd3700v2/dgnd3700v2.c +++ b/board/netgear/dgnd3700v2/dgnd3700v2.c @@ -6,6 +6,7 @@ #include <common.h> #include <init.h> #include <asm/io.h> +#include <linux/bitops.h> #define GPIO_BASE_6362 0x10000080 diff --git a/board/nvidia/p2371-2180/p2371-2180.c b/board/nvidia/p2371-2180/p2371-2180.c index 0a988cb7dd..4aeec473b1 100644 --- a/board/nvidia/p2371-2180/p2371-2180.c +++ b/board/nvidia/p2371-2180/p2371-2180.c @@ -10,6 +10,7 @@ #include <i2c.h> #include <log.h> #include <net.h> +#include <linux/bitops.h> #include <linux/libfdt.h> #include <asm/arch/gpio.h> #include <asm/arch/pinmux.h> diff --git a/board/nvidia/p3450-0000/p3450-0000.c b/board/nvidia/p3450-0000/p3450-0000.c index f4212ab822..45f9bacc71 100644 --- a/board/nvidia/p3450-0000/p3450-0000.c +++ b/board/nvidia/p3450-0000/p3450-0000.c @@ -8,6 +8,7 @@ #include <common.h> #include <fdtdec.h> #include <i2c.h> +#include <linux/bitops.h> #include <linux/libfdt.h> #include <pca953x.h> #include <asm/arch-tegra/cboot.h> diff --git a/board/phytec/pcm052/pcm052.c b/board/phytec/pcm052/pcm052.c index c40dc052b5..b0c56a29f1 100644 --- a/board/phytec/pcm052/pcm052.c +++ b/board/phytec/pcm052/pcm052.c @@ -17,6 +17,7 @@ #include <env.h> #include <led.h> #include <miiphy.h> +#include <linux/bitops.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/phytec/phycore_rk3288/phycore-rk3288.c b/board/phytec/phycore_rk3288/phycore-rk3288.c index ac7c5b0bc5..ecc73227a0 100644 --- a/board/phytec/phycore_rk3288/phycore-rk3288.c +++ b/board/phytec/phycore_rk3288/phycore-rk3288.c @@ -16,6 +16,7 @@ #include <i2c.h> #include <i2c_eeprom.h> #include <netdev.h> +#include <linux/bitops.h> #include "som.h" #include <power/regulator.h> #include <power/rk8xx_pmic.h> diff --git a/board/renesas/alt/alt.c b/board/renesas/alt/alt.c index 600a355a6b..279ed48721 100644 --- a/board/renesas/alt/alt.c +++ b/board/renesas/alt/alt.c @@ -17,6 +17,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> diff --git a/board/renesas/alt/alt_spl.c b/board/renesas/alt/alt_spl.c index a9c289447e..2de236fc29 100644 --- a/board/renesas/alt/alt_spl.c +++ b/board/renesas/alt/alt_spl.c @@ -13,6 +13,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/blanche/blanche.c b/board/renesas/blanche/blanche.c index 400c166b90..5fa10878d2 100644 --- a/board/renesas/blanche/blanche.c +++ b/board/renesas/blanche/blanche.c @@ -24,6 +24,7 @@ #include <env.h> #include <hang.h> #include <i2c.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <malloc.h> #include <miiphy.h> diff --git a/board/renesas/draak/draak.c b/board/renesas/draak/draak.c index 5f37a19600..c8f4b214a2 100644 --- a/board/renesas/draak/draak.c +++ b/board/renesas/draak/draak.c @@ -17,6 +17,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/gose/gose.c b/board/renesas/gose/gose.c index 686ad28f65..c6a93c25e6 100644 --- a/board/renesas/gose/gose.c +++ b/board/renesas/gose/gose.c @@ -17,6 +17,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> diff --git a/board/renesas/gose/gose_spl.c b/board/renesas/gose/gose_spl.c index b1b2ceb607..624ba5db04 100644 --- a/board/renesas/gose/gose_spl.c +++ b/board/renesas/gose/gose_spl.c @@ -13,6 +13,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/koelsch/koelsch.c b/board/renesas/koelsch/koelsch.c index 0f21f8d743..1b3acc8fd1 100644 --- a/board/renesas/koelsch/koelsch.c +++ b/board/renesas/koelsch/koelsch.c @@ -18,6 +18,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> diff --git a/board/renesas/koelsch/koelsch_spl.c b/board/renesas/koelsch/koelsch_spl.c index a321678e1b..449bbfa7b8 100644 --- a/board/renesas/koelsch/koelsch_spl.c +++ b/board/renesas/koelsch/koelsch_spl.c @@ -13,6 +13,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/lager/lager.c b/board/renesas/lager/lager.c index 8a94f21811..36a35a9a9c 100644 --- a/board/renesas/lager/lager.c +++ b/board/renesas/lager/lager.c @@ -20,6 +20,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> diff --git a/board/renesas/lager/lager_spl.c b/board/renesas/lager/lager_spl.c index ceaf164e78..1ca857c2c3 100644 --- a/board/renesas/lager/lager_spl.c +++ b/board/renesas/lager/lager_spl.c @@ -13,6 +13,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/porter/porter.c b/board/renesas/porter/porter.c index f311a72391..793e02cb44 100644 --- a/board/renesas/porter/porter.c +++ b/board/renesas/porter/porter.c @@ -18,6 +18,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> diff --git a/board/renesas/porter/porter_spl.c b/board/renesas/porter/porter_spl.c index 5b1f03cf7d..f10c6cffc2 100644 --- a/board/renesas/porter/porter_spl.c +++ b/board/renesas/porter/porter_spl.c @@ -13,6 +13,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/rcar-common/gen3-spl.c b/board/renesas/rcar-common/gen3-spl.c index e006774edf..fd6e5054a6 100644 --- a/board/renesas/rcar-common/gen3-spl.c +++ b/board/renesas/rcar-common/gen3-spl.c @@ -12,6 +12,7 @@ #include <log.h> #include <asm/io.h> #include <spl.h> +#include <linux/bitops.h> #define RCAR_CNTC_BASE 0xE6080000 #define CNTCR_EN BIT(0) diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/salvator-x/salvator-x.c index ff0409be98..947bdaefa8 100644 --- a/board/renesas/salvator-x/salvator-x.c +++ b/board/renesas/salvator-x/salvator-x.c @@ -18,6 +18,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/silk/silk.c b/board/renesas/silk/silk.c index fe753a79da..171d06f317 100644 --- a/board/renesas/silk/silk.c +++ b/board/renesas/silk/silk.c @@ -18,6 +18,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> diff --git a/board/renesas/silk/silk_spl.c b/board/renesas/silk/silk_spl.c index 9859977c77..f10f84a3cc 100644 --- a/board/renesas/silk/silk_spl.c +++ b/board/renesas/silk/silk_spl.c @@ -13,6 +13,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/stout/stout.c b/board/renesas/stout/stout.c index b32e11a199..babcce9aa1 100644 --- a/board/renesas/stout/stout.c +++ b/board/renesas/stout/stout.c @@ -19,6 +19,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> diff --git a/board/renesas/stout/stout_spl.c b/board/renesas/stout/stout_spl.c index a10752de1c..57c1fabaf3 100644 --- a/board/renesas/stout/stout_spl.c +++ b/board/renesas/stout/stout_spl.c @@ -13,6 +13,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/ulcb/ulcb.c b/board/renesas/ulcb/ulcb.c index ebb379a82a..07bc1ec719 100644 --- a/board/renesas/ulcb/ulcb.c +++ b/board/renesas/ulcb/ulcb.c @@ -16,6 +16,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/sbc8349/sbc8349.c b/board/sbc8349/sbc8349.c index c84146a608..1e3529f334 100644 --- a/board/sbc8349/sbc8349.c +++ b/board/sbc8349/sbc8349.c @@ -12,6 +12,7 @@ #include <init.h> #include <ioports.h> #include <mpc83xx.h> +#include <asm/bitops.h> #include <asm/mpc8349_pci.h> #include <i2c.h> #include <spd_sdram.h> diff --git a/board/seeed/linkit-smart-7688/board.c b/board/seeed/linkit-smart-7688/board.c index 492530ec4e..bf7c69ea83 100644 --- a/board/seeed/linkit-smart-7688/board.c +++ b/board/seeed/linkit-smart-7688/board.c @@ -6,6 +6,7 @@ #include <common.h> #include <init.h> #include <asm/io.h> +#include <linux/bitops.h> #define MT76XX_GPIO1_MODE 0x10000060 diff --git a/board/softing/vining_2000/vining_2000.c b/board/softing/vining_2000/vining_2000.c index 19fb85f34c..e5e33dcf15 100644 --- a/board/softing/vining_2000/vining_2000.c +++ b/board/softing/vining_2000/vining_2000.c @@ -19,6 +19,7 @@ #include <asm/io.h> #include <asm/mach-imx/mxc_i2c.h> #include <env.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/sizes.h> #include <common.h> diff --git a/board/solidrun/clearfog/clearfog.c b/board/solidrun/clearfog/clearfog.c index df23c0d8b3..4184754a9a 100644 --- a/board/solidrun/clearfog/clearfog.c +++ b/board/solidrun/clearfog/clearfog.c @@ -13,6 +13,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/bitops.h> #include <linux/delay.h> #include "../common/tlv_data.h" diff --git a/board/st/stm32mp1/board.c b/board/st/stm32mp1/board.c index b0d165028c..c218d37ecc 100644 --- a/board/st/stm32mp1/board.c +++ b/board/st/stm32mp1/board.c @@ -7,6 +7,7 @@ #include <dm.h> #include <asm/io.h> #include <asm/arch/ddr.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <power/pmic.h> #include <power/stpmic1.h> diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index 929302cf02..4553329b25 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -34,6 +34,7 @@ #include <asm/arch/stm32.h> #include <asm/arch/sys_proto.h> #include <jffs2/load_kernel.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/err.h> #include <linux/iopoll.h> diff --git a/board/synopsys/emsdp/emsdp.c b/board/synopsys/emsdp/emsdp.c index c1746b6110..91fa94a638 100644 --- a/board/synopsys/emsdp/emsdp.c +++ b/board/synopsys/emsdp/emsdp.c @@ -9,6 +9,7 @@ #include <dwmmc.h> #include <init.h> #include <malloc.h> +#include <linux/bitops.h> #include <asm/arcregs.h> diff --git a/board/synopsys/hsdk/clk-lib.h b/board/synopsys/hsdk/clk-lib.h index c1c105a8fd..970bcd4a17 100644 --- a/board/synopsys/hsdk/clk-lib.h +++ b/board/synopsys/hsdk/clk-lib.h @@ -8,6 +8,7 @@ #define __BOARD_CLK_LIB_H #include <common.h> +#include <linux/bitops.h> enum clk_ctl_ops { CLK_SET = BIT(0), /* set frequency */ diff --git a/board/synopsys/hsdk/hsdk.c b/board/synopsys/hsdk/hsdk.c index a42195427c..cd11f9dac0 100644 --- a/board/synopsys/hsdk/hsdk.c +++ b/board/synopsys/hsdk/hsdk.c @@ -14,6 +14,7 @@ #include <irq_func.h> #include <log.h> #include <asm/cache.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/printk.h> #include <linux/kernel.h> diff --git a/board/synopsys/iot_devkit/iot_devkit.c b/board/synopsys/iot_devkit/iot_devkit.c index 05b63e415b..497ea186d3 100644 --- a/board/synopsys/iot_devkit/iot_devkit.c +++ b/board/synopsys/iot_devkit/iot_devkit.c @@ -8,6 +8,7 @@ #include <init.h> #include <malloc.h> #include <dwmmc.h> +#include <linux/bitops.h> #include <linux/libfdt.h> #include <fdtdec.h> diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 474495a005..4199bee2e6 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -36,6 +36,7 @@ #include <i2c.h> #include <miiphy.h> #include <cpsw.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <power/tps65217.h> #include <power/tps65910.h> diff --git a/board/ti/common/board_detect.h b/board/ti/common/board_detect.h index 5835af5344..9f75b5c004 100644 --- a/board/ti/common/board_detect.h +++ b/board/ti/common/board_detect.h @@ -9,6 +9,7 @@ #define __BOARD_DETECT_H /* TI EEPROM MAGIC Header identifier */ +#include <linux/bitops.h> #define TI_EEPROM_HEADER_MAGIC 0xEE3355AA #define TI_DEAD_EEPROM_MAGIC 0xADEAD12C diff --git a/board/ti/ks2_evm/board_k2g.c b/board/ti/ks2_evm/board_k2g.c index 450ccc4e07..ece75326a5 100644 --- a/board/ti/ks2_evm/board_k2g.c +++ b/board/ti/ks2_evm/board_k2g.c @@ -18,6 +18,7 @@ #include <fdtdec.h> #include <i2c.h> #include <remoteproc.h> +#include <linux/bitops.h> #include <linux/delay.h> #include "mux-k2g.h" #include "../common/board_detect.h" diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index f7b79c576e..40c71adf51 100644 --- a/board/toradex/apalis_imx6/apalis_imx6.c +++ b/board/toradex/apalis_imx6/apalis_imx6.c @@ -12,6 +12,7 @@ #include <image.h> #include <init.h> #include <net.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <ahci.h> diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index bdb4ac6b11..6522af416a 100644 --- a/board/toradex/colibri_imx6/colibri_imx6.c +++ b/board/toradex/colibri_imx6/colibri_imx6.c @@ -12,6 +12,7 @@ #include <env.h> #include <init.h> #include <net.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <asm/arch/clock.h> diff --git a/board/tplink/wdr4300/wdr4300.c b/board/tplink/wdr4300/wdr4300.c index 287132e4fc..9134d6bf6d 100644 --- a/board/tplink/wdr4300/wdr4300.c +++ b/board/tplink/wdr4300/wdr4300.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <asm/addrspace.h> #include <asm/types.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <mach/ath79.h> #include <mach/ar71xx_regs.h> diff --git a/board/xilinx/zynq/cmds.c b/board/xilinx/zynq/cmds.c index 10984662b6..0c46de7599 100644 --- a/board/xilinx/zynq/cmds.c +++ b/board/xilinx/zynq/cmds.c @@ -10,6 +10,7 @@ #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> #include <malloc.h> +#include <linux/bitops.h> #include <u-boot/md5.h> #include <u-boot/rsa.h> #include <u-boot/rsa-mod-exp.h> diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 35ffac9735..cb72914adb 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -31,6 +31,7 @@ #include <zynqmppl.h> #include <zynqmp_firmware.h> #include <g_dnl.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/sizes.h> #include "../common/board.h" |