Skip to content
Snippets Groups Projects
Commit 0267ba5d authored by Michal Simek's avatar Michal Simek
Browse files

common: Move dram_init() declaration to common location

parent 7f641d53
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,6 @@ int arch_early_init_r(void); ...@@ -36,7 +36,6 @@ int arch_early_init_r(void);
/* board/.../... */ /* board/.../... */
int board_init(void); int board_init(void);
int dram_init (void);
void dram_init_banksize (void); void dram_init_banksize (void);
/* cpu/.../interrupt.c */ /* cpu/.../interrupt.c */
......
...@@ -22,7 +22,6 @@ int cleanup_before_linux(void); ...@@ -22,7 +22,6 @@ int cleanup_before_linux(void);
/* board/.../... */ /* board/.../... */
int board_init(void); int board_init(void);
int dram_init(void);
/* cpu/.../interrupt.c */ /* cpu/.../interrupt.c */
void reset_timer_masked(void); void reset_timer_masked(void);
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
/* board/.../... */ /* board/.../... */
int board_init(void); int board_init(void);
int dram_init(void);
/* start.c */ /* start.c */
int sandbox_early_getopt_check(void); int sandbox_early_getopt_check(void);
......
...@@ -26,15 +26,9 @@ unsigned long get_tbclk_mhz(void); ...@@ -26,15 +26,9 @@ unsigned long get_tbclk_mhz(void);
void timer_set_base(uint64_t base); void timer_set_base(uint64_t base);
int pcat_timer_init(void); int pcat_timer_init(void);
/* Architecture specific DRAM init */
int dram_init(void);
/* cpu/.../interrupts.c */ /* cpu/.../interrupts.c */
int cpu_init_interrupts(void); int cpu_init_interrupts(void);
/* board/.../... */
int dram_init(void);
int cleanup_before_linux(void); int cleanup_before_linux(void);
int x86_cleanup_before_linux(void); int x86_cleanup_before_linux(void);
void x86_enable_caches(void); void x86_enable_caches(void);
......
...@@ -183,6 +183,7 @@ typedef void (interrupt_handler_t)(void *); ...@@ -183,6 +183,7 @@ typedef void (interrupt_handler_t)(void *);
/* /*
* Function Prototypes * Function Prototypes
*/ */
int dram_init(void);
void hang (void) __attribute__ ((noreturn)); void hang (void) __attribute__ ((noreturn));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment