ARM: bcm281xx: Move kona_l2_cache_init() so it can be shared
authorMarkus Mayer <markus.mayer@linaro.org>
Tue, 25 Feb 2014 22:17:43 +0000 (14:17 -0800)
committerMatt Porter <mporter@linaro.org>
Thu, 6 Mar 2014 08:17:59 +0000 (03:17 -0500)
commit8b1c342629ecf7c2c52600dbe626d74cffc8d6cc
tree8127124f28d8b4bea739c64d06c613bef9df3fd5
parent9c6423aa7e32c74f7992c0428d8456373a5c48a8
ARM: bcm281xx: Move kona_l2_cache_init() so it can be shared

In preparation for future SoCs, move kona_l2_cache_init() from board
specific board_bcm281xx.c to shared kona.c, so multiple SoC families
can make use of it. Also change the return type to "void", since we
never look at the return code anyway.

Signed-off-by: Markus Mayer <markus.mayer@linaro.org>
Signed-off-by: Matt Porter <mporter@linaro.org>
arch/arm/mach-bcm/board_bcm281xx.c
arch/arm/mach-bcm/kona.c
arch/arm/mach-bcm/kona.h