If an asm blob isn't marked as volatile, gcc is free to throw it out if it doesn't think it produces any values that are actually used. To prevent that from happening, add volatile to some asm blobs in the nyan romstage code.
BUG=None TEST=Booted on nyan rev1. BRANCH=None
Original-Change-Id: I819e068e738e94ea749fcb72bba2eee080e1dfb1
f220df6 nyan: Use asm volatile instead of plain asm so it doesn't get optimized out.
src/mainboard/google/nyan/romstage.c | 3 ++-
src/mainboard/google/nyan_big/romstage.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
Upstream: review.coreboot.org