mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-03 18:10:42 +09:00
d67be7c965
If CONFIG_OF_CONTROL is enabled, lib/fdtdec.c is compiled. It includes <asm/gpio.h> and then <asm/gpio.h> includes <asm/arch/gpio.h>. As a result, all the SoCs that enable CONFIG_OF_CONTROL must have <asm/arch/gpio.h>. The right fix would be to split the lib/fdtdec.c to remove dependency on GPIO. This commit adds a dummy <asm/arch/gpio.h> to support OF_CONTROL for mpc85xx platform. A file mpc85xx_gpio.h exists in arch/powerpc/include/asm. The defintions in that file conflict with the ones in asm-generic/gpio.h. Hence a dummy header file has been added. This will be removed after FDT-GPIO stuff is fixed correctly. Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com> |
||
---|---|---|
.. | ||
arch-mpc83xx | ||
arch-mpc85xx | ||
4xx_pci.h | ||
4xx_pcie.h | ||
5xx_immap.h | ||
8xx_immap.h | ||
atomic.h | ||
bitops.h | ||
byteorder.h | ||
cache.h | ||
config_mpc85xx.h | ||
config_mpc86xx.h | ||
config.h | ||
cpm_85xx.h | ||
cpm_8260.h | ||
e300.h | ||
errno.h | ||
fsl_dma.h | ||
fsl_dtsec.h | ||
fsl_errata.h | ||
fsl_fman.h | ||
fsl_i2c.h | ||
fsl_law.h | ||
fsl_lbc.h | ||
fsl_liodn.h | ||
fsl_memac.h | ||
fsl_mpc83xx_serdes.h | ||
fsl_pci.h | ||
fsl_portals.h | ||
fsl_secure_boot.h | ||
fsl_serdes.h | ||
fsl_srio.h | ||
fsl_tgec.h | ||
global_data.h | ||
gpio.h | ||
immap_83xx.h | ||
immap_85xx.h | ||
immap_86xx.h | ||
immap_512x.h | ||
immap_8260.h | ||
interrupt.h | ||
io.h | ||
iopin_8xx.h | ||
iopin_8260.h | ||
m8260_pci.h | ||
mc146818rtc.h | ||
mmu.h | ||
mp.h | ||
mpc8xxx_spi.h | ||
mpc85xx_gpio.h | ||
mpc512x.h | ||
mpc8349_pci.h | ||
pci_io.h | ||
posix_types.h | ||
ppc4xx_config.h | ||
ppc4xx-ebc.h | ||
ppc4xx-emac.h | ||
ppc4xx-gpio.h | ||
ppc4xx-i2c.h | ||
ppc4xx-isram.h | ||
ppc4xx-mal.h | ||
ppc4xx-sdram.h | ||
ppc4xx-uic.h | ||
ppc4xx.h | ||
ppc405.h | ||
ppc405ep.h | ||
ppc405ex.h | ||
ppc405ez.h | ||
ppc405gp.h | ||
ppc440.h | ||
ppc440ep_gr.h | ||
ppc440epx_grx.h | ||
ppc440gp.h | ||
ppc440gx.h | ||
ppc440sp.h | ||
ppc440spe.h | ||
ppc460ex_gt.h | ||
ppc460sx.h | ||
processor.h | ||
ptrace.h | ||
sections.h | ||
sigcontext.h | ||
signal.h | ||
spl.h | ||
status_led.h | ||
string.h | ||
types.h | ||
u-boot.h | ||
unaligned.h | ||
xilinx_irq.h |