summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2012-01-13 20:45:39 -0800
committerGerrit <chrome-bot@google.com>2012-01-13 21:44:34 -0800
commit4252c8c013bb44c4efb5104e0336d5d63c0b5aa3 (patch)
treefd366c6154d019350bc2a77fb72b88dfde6f1ddf /arch
parent8fb008f79b5e9dee440d2668a8ca13aed34b0454 (diff)
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 <gabeblack@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/14211
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/cpu/coreboot/sdram.c3
1 files changed, 3 insertions, 0 deletions
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;