AMD k8 fam10: Fix CAR GLOBALS late in romstage
commita877b74a79028cef9a6a50a40c6d895de5c88fbd
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Wed, 20 Jul 2016 00:23:06 +0000 (20 03:23 +0300)
committerKyösti Mälkki <kyosti.malkki@gmail.com>
Thu, 21 Jul 2016 13:35:49 +0000 (21 15:35 +0200)
tree35c09b716138277837a9b8e1d459eb373ce90eab
parent7899db23557cc5eacadf42b53eaad5ebc0fe0c0e
AMD k8 fam10: Fix CAR GLOBALS late in romstage

Zero-filling memory below 1 MiB resets car_migrated variable so
any CAR GLOBALs are not addressed correctly for the remaining
time in romstage. Also there is no actual need to do this as
ramstage loader handles BSS.

This fixes regression with commit 70cd54310 that broke fam10 boards
with romstage spinlocks enabled.

Change-Id: I7418821997a980ae5b818bd57e8a1b6507a543af
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/15754
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
src/cpu/amd/car/post_cache_as_ram.c