ARM omap: pbl fixes
Omap3 pbl build may need omap3_clock.c. Also, do not use add_generic_device in pbl Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
5696a16f10
commit
89d6164660
|
@ -23,6 +23,7 @@ pbl-$(CONFIG_ARCH_OMAP3) += omap3_core.o omap3_generic.o auxcr.o
|
|||
obj-$(CONFIG_ARCH_OMAP4) += omap4_generic.o omap4_clock.o
|
||||
pbl-$(CONFIG_ARCH_OMAP4) += omap4_generic.o omap4_clock.o
|
||||
obj-$(CONFIG_OMAP3_CLOCK_CONFIG) += omap3_clock.o
|
||||
pbl-$(CONFIG_OMAP3_CLOCK_CONFIG) += omap3_clock.o
|
||||
obj-$(CONFIG_OMAP_GPMC) += gpmc.o devices-gpmc-nand.o
|
||||
obj-$(CONFIG_SHELL_NONE) += xload.o
|
||||
obj-$(CONFIG_I2C_TWL6030) += omap4_twl6030_mmc.o
|
||||
|
|
|
@ -512,6 +512,7 @@ const struct gpmc_config omap3_nand_cfg = {
|
|||
.size = GPMC_SIZE_16M,
|
||||
};
|
||||
|
||||
#ifndef __PBL__
|
||||
static int omap3_gpio_init(void)
|
||||
{
|
||||
add_generic_device("omap-gpio", 0, NULL, 0x48310000,
|
||||
|
@ -530,3 +531,4 @@ static int omap3_gpio_init(void)
|
|||
return 0;
|
||||
}
|
||||
coredevice_initcall(omap3_gpio_init);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue