]> git.sur5r.net Git - u-boot/commit
ARM: lib: Remove CONFIG_ARCH_CPU_INIT dependency
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 1 Mar 2012 04:02:38 +0000 (04:02 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 20 Jul 2012 12:24:08 +0000 (14:24 +0200)
commita21c65115bd95572cc80092a31b0e9ecb8710e9f
tree75acfceb184e561448c9ec949d44f982e5d16f91
parentd2ebaa41ede51f1ebf7e6e41a611c2efa89431e9
ARM: lib: Remove CONFIG_ARCH_CPU_INIT dependency

Create a weak-aliased arch_cpu_init, so that we can get rid of CONFIG_ARCH_CPU_INIT
and always call arch_cpu_init.

This way we do not need to define CONFIG_ARCH_CPU_INIT in every board file, since
arch_cpu_init() is supposed to handle common CPU level code.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
arch/arm/lib/board.c