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.zip u-boot-cd93d625fd751d55c729c78b10f82109d56a5f1d.tar.gz u-boot-cd93d625fd751d55c729c78b10f82109d56a5f1d.tar.bz2 |
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 8139345..cc57b9f 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 25759e0..2da878d 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 a6f1167..62027bd 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 ba0a944..e9897b3 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 f225f46..60ce940 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 53a80c9..08a3c1c 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 cb65357..63bb771 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 1153b18..5f12a27 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 deb530f..6322051 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 982cb15..668484b 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 5c9124f..e4bf507 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 1a6dec0..c7438ae 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 427151c..3c132f1 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 c7d316e..26e827b 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 5f0a659..28dcc2a 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 b2f464a..ae3be57 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 fba068c..88eb66b 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 688bffa..576f04c 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 074f3d2..3993d58 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 d53c861..182391c 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 3fd2c5e..94cb93a 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 2ef3b3a..c23d150 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 3b4494c..3ea2bec 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 066222c..7292d7a 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 90946cc..d206f8f 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 9b82c94..b3af8fe 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 8e2dd5f..371c3c3 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 2065a5a..d0d3401 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 e87ea0a..5339b9e 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 0cb3366..06a4e67 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 70a13aa..58a564a 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 4b67a4b..8b419ef 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 0566fcb..45b9649 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 f806576..51700f4 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 a534536..74e8bfc 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 d9c0200..cfc3529 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 0a988cb..4aeec47 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 f4212ab..45f9bac 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 c40dc05..b0c56a2 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 ac7c5b0..ecc7322 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 600a355..279ed48 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 a9c2894..2de236f 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 400c166..5fa1087 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 5f37a19..c8f4b21 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 686ad28..c6a93c2 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 b1b2ceb..624ba5d 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 0f21f8d..1b3acc8 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 a321678..449bbfa 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 8a94f21..36a35a9 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 ceaf164..1ca857c 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 f311a72..793e02c 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 5b1f03c..f10c6cf 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 e006774..fd6e505 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 ff0409b..947bdae 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 fe753a7..171d06f 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 9859977..f10f84a 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 b32e11a1..babcce9 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 a10752d..57c1fab 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 ebb379a..07bc1ec 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 c84146a..1e3529f 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 492530e..bf7c69e 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 19fb85f..e5e33dc 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 df23c0d..4184754 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 b0d1650..c218d37 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 929302c..4553329 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 c1746b6..91fa94a 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 c1c105a..970bcd4 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 a421954..cd11f9d 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 05b63e4..497ea18 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 474495a..4199bee 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 5835af5..9f75b5c 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 450ccc4..ece7532 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 f7b79c5..40c71ad 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 bdb4ac6..6522af4 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 287132e..9134d6b 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 1098466..0c46de7 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 35ffac9..cb72914 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" |