[PATCH 1/9] ARM i.MX5: prepare to add a imx51_lowlevel_init

Eric Bénard eric at eukrea.com
Sun Dec 18 09:03:48 EST 2011


Hi Sascha,

Le 17/12/2011 15:52, Sascha Hauer a écrit :
> - move code which can be shared between i.MX53 and i.MX51
>    to a common file
> - rename mx53_init_lowlevel to imx53_init_lowlevel
>
> Signed-off-by: Sascha Hauer<s.hauer at pengutronix.de>
> ---
> diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
> index 0b3b781..a9aa9e2 100644
> --- a/arch/arm/mach-imx/Makefile
> +++ b/arch/arm/mach-imx/Makefile
> @@ -5,8 +5,8 @@ obj-$(CONFIG_ARCH_IMX21) += speed-imx21.o imx21.o iomux-v1.o
>   obj-$(CONFIG_ARCH_IMX27) += speed-imx27.o imx27.o iomux-v1.o
>   obj-$(CONFIG_ARCH_IMX31) += speed-imx31.o imx31.o iomux-v2.o
>   obj-$(CONFIG_ARCH_IMX35) += speed-imx35.o imx35.o iomux-v3.o
> -obj-$(CONFIG_ARCH_IMX51) += speed-imx51.o imx51.o iomux-v3.o
> -obj-$(CONFIG_ARCH_IMX53) += speed-imx53.o imx53.o iomux-v3.o
> +obj-$(CONFIG_ARCH_IMX51) += speed-imx51.o imx51.o iomux-v3.o imx5.o
> +obj-$(CONFIG_ARCH_IMX53) += speed-imx53.o imx53.o iomux-v3.o imx5.o
>   obj-$(CONFIG_IMX_CLKO)	+= clko.o
>   obj-$(CONFIG_IMX_IIM)	+= iim.o
>   obj-$(CONFIG_NAND_IMX) += nand.o

imx5.c is missing leading to :

make[1]: *** No rule to make target `arch/arm/mach-imx/imx5.o', needed by 
`arch/arm/mach-imx/built-in.o'.  Stop.
make: *** [arch/arm/mach-imx] Error 2

Eric



More information about the barebox mailing list