From 4252c8c013bb44c4efb5104e0336d5d63c0b5aa3 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 13 Jan 2012 20:45:39 -0800 Subject: Declare __text_start and __bss_end which will be used in the next commit The way these are declared is different upstream, so these are being added in a separate change to make rebasing easier. BUG=None TEST=Built and booted on Lumpy. Change-Id: If84e0c36bd3615a561dec80eb71741c78db869b3 Signed-off-by: Gabe Black Reviewed-on: https://gerrit.chromium.org/gerrit/14211 --- arch/x86/cpu/coreboot/sdram.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch') diff --git a/arch/x86/cpu/coreboot/sdram.c b/arch/x86/cpu/coreboot/sdram.c index fb6515f884..5fa799ea68 100644 --- a/arch/x86/cpu/coreboot/sdram.c +++ b/arch/x86/cpu/coreboot/sdram.c @@ -51,6 +51,9 @@ unsigned install_e820_map(unsigned max_entries, struct e820entry *entries) return num_entries; } +extern uint8_t __text_start; +extern uint8_t __bss_end; + int dram_init_f(void) { int i; phys_size_t ram_size = 0; -- cgit v1.2.3