提交 3132b586 编写于 作者: M Mike Frysinger 提交者: Bryan Wu

[Blackfin] arch: theres no need to declare ram{end,start,base} in the head.S files

theres no need to declare ram{end,start,base} in the head.S files
when declaring them with the other memory related variables in setup.c
is so much simpler/nicer
Signed-off-by: NMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: NBryan Wu <cooloney@kernel.org>
上级 8b6eb473
...@@ -35,6 +35,7 @@ u16 _bfin_swrst; ...@@ -35,6 +35,7 @@ u16 _bfin_swrst;
EXPORT_SYMBOL(_bfin_swrst); EXPORT_SYMBOL(_bfin_swrst);
unsigned long memory_start, memory_end, physical_mem_end; unsigned long memory_start, memory_end, physical_mem_end;
unsigned long _rambase, _ramstart, _ramend;
unsigned long reserved_mem_dcache_on; unsigned long reserved_mem_dcache_on;
unsigned long reserved_mem_icache_on; unsigned long reserved_mem_icache_on;
EXPORT_SYMBOL(memory_start); EXPORT_SYMBOL(memory_start);
......
...@@ -37,9 +37,6 @@ ...@@ -37,9 +37,6 @@
#include <asm/mach/mem_init.h> #include <asm/mach/mem_init.h>
#endif #endif
.global __rambase
.global __ramstart
.global __ramend
.extern ___bss_stop .extern ___bss_stop
.extern ___bss_start .extern ___bss_start
.extern _bf53x_relocate_l1_mem .extern _bf53x_relocate_l1_mem
...@@ -439,18 +436,3 @@ ENTRY(_start_dma_code) ...@@ -439,18 +436,3 @@ ENTRY(_start_dma_code)
RTS; RTS;
ENDPROC(_start_dma_code) ENDPROC(_start_dma_code)
#endif /* CONFIG_BFIN_KERNEL_CLOCK */ #endif /* CONFIG_BFIN_KERNEL_CLOCK */
.data
/*
* Set up the usable of RAM stuff. Size of RAM is determined then
* an initial stack set up at the end.
*/
.align 4
__rambase:
.long 0
__ramstart:
.long 0
__ramend:
.long 0
...@@ -36,9 +36,6 @@ ...@@ -36,9 +36,6 @@
#include <asm/mach/mem_init.h> #include <asm/mach/mem_init.h>
#endif #endif
.global __rambase
.global __ramstart
.global __ramend
.extern ___bss_stop .extern ___bss_stop
.extern ___bss_start .extern ___bss_start
.extern _bf53x_relocate_l1_mem .extern _bf53x_relocate_l1_mem
...@@ -431,18 +428,3 @@ ENTRY(_start_dma_code) ...@@ -431,18 +428,3 @@ ENTRY(_start_dma_code)
RTS; RTS;
ENDPROC(_start_dma_code) ENDPROC(_start_dma_code)
#endif /* CONFIG_BFIN_KERNEL_CLOCK */ #endif /* CONFIG_BFIN_KERNEL_CLOCK */
.data
/*
* Set up the usable of RAM stuff. Size of RAM is determined then
* an initial stack set up at the end.
*/
.align 4
__rambase:
.long 0
__ramstart:
.long 0
__ramend:
.long 0
...@@ -37,9 +37,6 @@ ...@@ -37,9 +37,6 @@
#include <asm/mach/mem_init.h> #include <asm/mach/mem_init.h>
#endif #endif
.global __rambase
.global __ramstart
.global __ramend
.extern ___bss_stop .extern ___bss_stop
.extern ___bss_start .extern ___bss_start
.extern _bf53x_relocate_l1_mem .extern _bf53x_relocate_l1_mem
...@@ -471,18 +468,3 @@ ENTRY(_start_dma_code) ...@@ -471,18 +468,3 @@ ENTRY(_start_dma_code)
RTS; RTS;
ENDPROC(_start_dma_code) ENDPROC(_start_dma_code)
#endif /* CONFIG_BFIN_KERNEL_CLOCK */ #endif /* CONFIG_BFIN_KERNEL_CLOCK */
.data
/*
* Set up the usable of RAM stuff. Size of RAM is determined then
* an initial stack set up at the end.
*/
.align 4
__rambase:
.long 0
__ramstart:
.long 0
__ramend:
.long 0
...@@ -36,9 +36,6 @@ ...@@ -36,9 +36,6 @@
#include <asm/mach/mem_init.h> #include <asm/mach/mem_init.h>
#endif #endif
.global __rambase
.global __ramstart
.global __ramend
.extern ___bss_stop .extern ___bss_stop
.extern ___bss_start .extern ___bss_start
.extern _bf53x_relocate_l1_mem .extern _bf53x_relocate_l1_mem
...@@ -456,18 +453,3 @@ ENTRY(_start_dma_code) ...@@ -456,18 +453,3 @@ ENTRY(_start_dma_code)
RTS; RTS;
ENDPROC(_start_dma_code) ENDPROC(_start_dma_code)
#endif /* CONFIG_BFIN_KERNEL_CLOCK */ #endif /* CONFIG_BFIN_KERNEL_CLOCK */
.data
/*
* Set up the usable of RAM stuff. Size of RAM is determined then
* an initial stack set up at the end.
*/
.align 4
__rambase:
.long 0
__ramstart:
.long 0
__ramend:
.long 0
...@@ -37,9 +37,6 @@ ...@@ -37,9 +37,6 @@
#include <asm/mach/mem_init.h> #include <asm/mach/mem_init.h>
#endif #endif
.global __rambase
.global __ramstart
.global __ramend
.extern ___bss_stop .extern ___bss_stop
.extern ___bss_start .extern ___bss_start
.extern _bf53x_relocate_l1_mem .extern _bf53x_relocate_l1_mem
...@@ -411,18 +408,3 @@ ENTRY(_start_dma_code) ...@@ -411,18 +408,3 @@ ENTRY(_start_dma_code)
RTS; RTS;
ENDPROC(_start_dma_code) ENDPROC(_start_dma_code)
#endif /* CONFIG_BFIN_KERNEL_CLOCK */ #endif /* CONFIG_BFIN_KERNEL_CLOCK */
.data
/*
* Set up the usable of RAM stuff. Size of RAM is determined then
* an initial stack set up at the end.
*/
.align 4
__rambase:
.long 0
__ramstart:
.long 0
__ramend:
.long 0
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册