[PATCH 1/3] ARM: mx3: Remove unneeded ifdef's from mm-imx3.c

Fabio Estevam festevam at gmail.com
Sat Jan 21 14:16:57 EST 2012


Hi Uwe,

2012/1/20 Uwe Kleine-König <u.kleine-koenig at pengutronix.de>:

> and the problem was not that we can or cannot do kernels for both mx31
> and mx35, but that we also want to do kernels for only one of them. Did
> you try to build an mx31-only kernel after your change?

Ok, just tried it and it fails with:

  LD      .tmp_vmlinux1
arch/arm/mach-imx/built-in.o: In function `imx35_init_early':
mach-mx31_3ds.c:(.init.text+0x50): undefined reference to `mxc_iomux_v3_init'
arch/arm/mach-imx/built-in.o: In function `imx35_soc_init':
mach-mx31_3ds.c:(.init.text+0x12c): undefined reference to `mx35_revision'

I think I can solve this build issue by merging cpu-imx31.c and
cpu-imx35.c into a single file:
cpu-imx3.c, using the same idea as in cpu-imx5.c

Would you like me to do this?

Regards,

Fabio Estevam



More information about the linux-arm-kernel mailing list