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>
This commit is contained in:
Aaron Durbin 2015-09-04 15:55:27 -05:00
parent 4d3de7e328
commit 649901e8e8
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ DCacheSetupGood:
/* Call romstage.c main function */ /* Call romstage.c main function */
call main call main
.global done_cache_as_ram_main
done_cache_as_ram_main: done_cache_as_ram_main:
/* We now run over the stack-in-cache, /* We now run over the stack-in-cache,