Martin Roth has uploaded this change for review.

View Change

vendorcode/amd/pi: Update AGESA_CFLAGS

-Split the existing cflags to a second line to stay under 80 characters
-Add -D__LIBAGESA__ to cflags to enable printk in the binarypi agesa
vendorcode.

Change-Id: I2a64414491130275ba06e5bd76e0b01e450174e8
Signed-off-by: Martin Roth <martinroth@google.com>
---
M src/vendorcode/amd/pi/Makefile.inc
1 file changed, 2 insertions(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/20423/1
diff --git a/src/vendorcode/amd/pi/Makefile.inc b/src/vendorcode/amd/pi/Makefile.inc
index 2e539f8..1f33020 100644
--- a/src/vendorcode/amd/pi/Makefile.inc
+++ b/src/vendorcode/amd/pi/Makefile.inc
@@ -74,7 +74,8 @@
AGESA_INC += -I$(src)/commonlib/include
AGESA_INC += -I$(VBOOT_SOURCE)/firmware/include

-AGESA_CFLAGS += -march=amdfam10 -mno-3dnow -fno-zero-initialized-in-bss -fno-strict-aliasing
+AGESA_CFLAGS += -march=amdfam10 -mno-3dnow -fno-zero-initialized-in-bss
+AGESA_CFLAGS += -fno-strict-aliasing -D__LIBAGESA__
CFLAGS_x86_32 += $(AGESA_CFLAGS)
CFLAGS_x86_64 += $(AGESA_CFLAGS)

To view, visit change 20423. To unsubscribe, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2a64414491130275ba06e5bd76e0b01e450174e8
Gerrit-Change-Number: 20423
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth@google.com>