From 649901e8e882d5aa14e94e4de611867ca678866b Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 4 Sep 2015 15:55:27 -0500 Subject: 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 Reviewed-on: http://review.coreboot.org/11511 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/cpu/amd/geode_lx/cache_as_ram.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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, -- cgit v1.2.3