]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
avr32: rename cpu_init() -> arch_cpu_init()
authorAndreas Bießmann <andreas.devel@googlemail.com>
Fri, 6 Feb 2015 22:06:40 +0000 (23:06 +0100)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 17 Feb 2015 21:52:39 +0000 (22:52 +0100)
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/avr32/cpu/cpu.c
arch/avr32/include/asm/u-boot.h
arch/avr32/lib/board.c

index cef630ed45836b37d2b8ef548533349ae88f6c5a..cd226a6f71b384f757441098dc0708241e867453 100644 (file)
@@ -27,7 +27,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-int cpu_init(void)
+int arch_cpu_init(void)
 {
        extern void _evba(void);
 
index 6aef8087490a2d9ab031062ea193eeb270082d61..2387f8af62b9a75c73ecb643799f4c90538e24ff 100644 (file)
@@ -25,4 +25,6 @@ typedef struct bd_info {
 /* For image.h:image_check_target_arch() */
 #define IH_ARCH_DEFAULT IH_ARCH_AVR32
 
+int arch_cpu_init(void);
+
 #endif /* __ASM_U_BOOT_H__ */
index 7d13ac534b835077eb46262ce32d5a776c65a3c5..95f95266f1272a8ffebfb16e269719d26c5b9efe 100644 (file)
@@ -98,7 +98,7 @@ void board_init_f(ulong board_type)
 
        /* Perform initialization sequence */
        board_early_init_f();
-       cpu_init();
+       arch_cpu_init();
        board_postclk_init();
        env_init();
        init_baudrate();