]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: Don't include common.h in header files
authorSimon Glass <sjg@chromium.org>
Sun, 10 May 2020 17:39:55 +0000 (11:39 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 18 May 2020 18:54:24 +0000 (14:54 -0400)
commitc3dc39a2f85b16bf590789f7e283cd72275cd168
treefd07b448aa4192e1d4fede43e412d5fdfa584b82
parentb79fdc76978515fba2c4f3b5b4f2e679c5ff1463
arm: Don't include common.h in header files

It is bad practice to include common.h in other header files since it can
bring in any number of superfluous definitions. It implies that some C
files don't include it and thus may be missing CONFIG options that are set
up by that file. The C files should include these themselves.

Update some header files in arch/arm to drop this.

Signed-off-by: Simon Glass <sjg@chromium.org>
80 files changed:
arch/arm/cpu/armv8/fwcall.c
arch/arm/include/asm/arch-am33xx/clk_synthesizer.h
arch/arm/include/asm/arch-am33xx/mux.h
arch/arm/include/asm/arch-am33xx/mux_am33xx.h
arch/arm/include/asm/arch-am33xx/mux_am43xx.h
arch/arm/include/asm/arch-am33xx/mux_ti816x.h
arch/arm/include/asm/arch-fsl-layerscape/clock.h
arch/arm/include/asm/arch-lpc32xx/dma.h
arch/arm/include/asm/arch-lpc32xx/i2c.h
arch/arm/include/asm/arch-ls102xa/clock.h
arch/arm/include/asm/arch-mx25/clock.h
arch/arm/include/asm/arch-mx31/clock.h
arch/arm/include/asm/arch-mx35/clock.h
arch/arm/include/asm/arch-mx5/clock.h
arch/arm/include/asm/arch-mx6/clock.h
arch/arm/include/asm/arch-mx7/clock.h
arch/arm/include/asm/arch-mx7ulp/clock.h
arch/arm/include/asm/arch-mx7ulp/pcc.h
arch/arm/include/asm/arch-mx7ulp/scg.h
arch/arm/include/asm/arch-omap4/clock.h
arch/arm/include/asm/arch-omap5/clock.h
arch/arm/include/asm/arch-omap5/dra7xx_iodelay.h
arch/arm/include/asm/arch-rk3308/cru_rk3308.h
arch/arm/include/asm/arch-rk3308/grf_rk3308.h
arch/arm/include/asm/arch-rockchip/cru_px30.h
arch/arm/include/asm/arch-rockchip/cru_rk3036.h
arch/arm/include/asm/arch-rockchip/cru_rk3128.h
arch/arm/include/asm/arch-rockchip/cru_rk322x.h
arch/arm/include/asm/arch-rockchip/cru_rk3328.h
arch/arm/include/asm/arch-rockchip/cru_rk3368.h
arch/arm/include/asm/arch-rockchip/cru_rk3399.h
arch/arm/include/asm/arch-rockchip/cru_rv1108.h
arch/arm/include/asm/arch-rockchip/grf_px30.h
arch/arm/include/asm/arch-rockchip/grf_rk3036.h
arch/arm/include/asm/arch-rockchip/grf_rk3128.h
arch/arm/include/asm/arch-rockchip/grf_rk322x.h
arch/arm/include/asm/arch-rockchip/grf_rk3368.h
arch/arm/include/asm/arch-rockchip/grf_rv1108.h
arch/arm/include/asm/arch-rockchip/sdram_rk3036.h
arch/arm/include/asm/arch-rockchip/sdram_rk322x.h
arch/arm/include/asm/arch-s32v234/clock.h
arch/arm/include/asm/arch-sunxi/rsb.h
arch/arm/include/asm/arch-tegra/ivc.h
arch/arm/include/asm/arch-tegra/tegra_mmc.h
arch/arm/include/asm/arch-vf610/clock.h
arch/arm/include/asm/dma-mapping.h
arch/arm/include/asm/emif.h
arch/arm/include/asm/mach-imx/iomux-v3.h
arch/arm/include/asm/mach-imx/sys_proto.h
arch/arm/include/asm/omap_common.h
arch/arm/include/asm/omap_sec_common.h
arch/arm/include/asm/psci.h
arch/arm/include/asm/system.h
arch/arm/mach-imx/ddrmc-vf610.c
arch/arm/mach-imx/mx7ulp/soc.c
arch/arm/mach-imx/sata.c
arch/arm/mach-omap2/am33xx/ddr.c
arch/arm/mach-omap2/omap4/sdram_elpida.c
arch/arm/mach-omap2/omap5/sdram.c
arch/arm/mach-rockchip/rk3036/rk3036.c
board/compulab/cm_t54/mux.c
board/el/el6x/el6x.c
board/embest/mx6boards/mx6boards.c
board/gateworks/gw_ventana/common.c
board/grinn/liteboard/board.c
board/overo/spl.c
board/sks-kinkel/sksimx6/sksimx6.c
board/solidrun/mx6cuboxi/mx6cuboxi.c
board/technexion/pico-imx6/spl.c
board/technexion/pico-imx7d/spl.c
board/udoo/udoo_spl.c
board/wandboard/spl.c
board/wandboard/wandboard.c
drivers/mtd/nand/raw/denali.c
drivers/mtd/nand/raw/denali_dt.c
drivers/usb/eth/lan7x.h
include/linux/compat.h
include/linux/mtd/rawnand.h
include/net.h
include/spl.h