]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
common: Move dram_init() declaration to common location
authorMichal Simek <michal.simek@xilinx.com>
Fri, 30 Jan 2015 09:51:46 +0000 (10:51 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 9 Feb 2015 14:08:48 +0000 (15:08 +0100)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/u-boot-arm.h
arch/nds32/include/asm/u-boot-nds32.h
arch/sandbox/include/asm/u-boot-sandbox.h
arch/x86/include/asm/u-boot-x86.h
include/common.h

index f97f3dd1496aa54f7ca0667d0ebea299c95d50e7..414042d4039b52b626eeae689b0b5a0e31d59fc5 100644 (file)
@@ -36,7 +36,6 @@ int   arch_early_init_r(void);
 
 /* board/.../... */
 int    board_init(void);
-int    dram_init (void);
 void   dram_init_banksize (void);
 
 /* cpu/.../interrupt.c */
index b07908692a920740f5e76db508749a42fb84630d..dee5f43ae1552d67de77b7d7d4aee0768eb124d0 100644 (file)
@@ -22,7 +22,6 @@ int   cleanup_before_linux(void);
 
 /* board/.../... */
 int    board_init(void);
-int    dram_init(void);
 
 /* cpu/.../interrupt.c */
 void   reset_timer_masked(void);
index d2f1b6566d7051afe75c1199a57c929fabcd0ae3..770ab5c9cc07ec6fa497bd3d7b631072b8e10f5d 100644 (file)
@@ -17,7 +17,6 @@
 
 /* board/.../... */
 int board_init(void);
-int dram_init(void);
 
 /* start.c */
 int sandbox_early_getopt_check(void);
index b98afa801d3a60849c58d01d3955965bbc5bc99d..c24846b3ed50b49a3010d62dd87d9b93b0646d08 100644 (file)
@@ -26,15 +26,9 @@ unsigned long get_tbclk_mhz(void);
 void timer_set_base(uint64_t base);
 int pcat_timer_init(void);
 
-/* Architecture specific DRAM init */
-int dram_init(void);
-
 /* cpu/.../interrupts.c */
 int cpu_init_interrupts(void);
 
-/* board/.../... */
-int dram_init(void);
-
 int cleanup_before_linux(void);
 int x86_cleanup_before_linux(void);
 void x86_enable_caches(void);
index 97c8f79fc7375706c07af06c752c424e196a083d..91294547f5cfe1314067a4e1dd8ffa394d0b6b29 100644 (file)
@@ -183,6 +183,7 @@ typedef void (interrupt_handler_t)(void *);
 /*
  * Function Prototypes
  */
+int dram_init(void);
 
 void   hang            (void) __attribute__ ((noreturn));