aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-09-04 15:55:27 -0500
committerAaron Durbin <adurbin@chromium.org>2015-09-05 15:26:25 +0000
commit649901e8e882d5aa14e94e4de611867ca678866b (patch)
treecbbc3f840f415fe11b2c1a7798913da81a6cdbf3 /src
parent4d3de7e328fd92498fd7cf149a0aa887e33f8dfd (diff)
amd/geode_lx: make done_cache_as_ram_main global
Current code written in C is calling a function implemented in assembly. However, the symbol's visibility is not set for such usage. Of course this works because MAINBOARDDIR/romstage.c is being processed into an assembly file currently. BUG=chrome-os-partner:44827 BRANCH=None TEST=Built digitallogic/msm800sev while not changing romstage.c into an assembly file. Change-Id: I84c3af0026f3f98bc64af007aa7cc196429f4e5f Signed-off-by: Aaron Durbin <adubin@chromium.org> Reviewed-on: http://review.coreboot.org/11511 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/cpu/amd/geode_lx/cache_as_ram.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/amd/geode_lx/cache_as_ram.inc b/src/cpu/amd/geode_lx/cache_as_ram.inc
index bcb0d4b52a..11eda541bb 100644
--- a/src/cpu/amd/geode_lx/cache_as_ram.inc
+++ b/src/cpu/amd/geode_lx/cache_as_ram.inc
@@ -186,6 +186,7 @@ DCacheSetupGood:
/* Call romstage.c main function */
call main
+.global done_cache_as_ram_main
done_cache_as_ram_main:
/* We now run over the stack-in-cache,