[coreboot-gerrit] Patch set updated for coreboot: a93d141 AMD CAR: Fix issue with gcc 4.8.x

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Wed Nov 20 01:50:44 CET 2013

Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4205


commit a93d141b604075974c34944bf50567737fb07113
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Tue Nov 19 14:26:50 2013 -0800

    AMD CAR: Fix issue with gcc 4.8.x
    Starting with gcc 4.8.x we can't add ebp to the clobber list
    anymore. Since we're not actually using the register here, just
    removing it does not cause issues.
    Change-Id: I226c14b7e651919ec2d61cbcb18be50cf7f2f7a8
    Signed-off-by: Stefan Reinauer <reinauer at google.com>
 src/cpu/amd/car/post_cache_as_ram.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cpu/amd/car/post_cache_as_ram.c b/src/cpu/amd/car/post_cache_as_ram.c
index eca7673..bad7535 100644
--- a/src/cpu/amd/car/post_cache_as_ram.c
+++ b/src/cpu/amd/car/post_cache_as_ram.c
@@ -119,7 +119,7 @@ static void post_cache_as_ram(void)
 		/* discard all registers (eax is used for %0), so gcc redoes everything
 		   after the stack is moved */
-		: "cc", "memory", "%ebx", "%ecx", "%edx", "%esi", "%edi", "%ebp"
+		: "cc", "memory", "%ebx", "%ecx", "%edx", "%esi", "%edi"
 	/* We can put data to stack again */

More information about the coreboot-gerrit mailing list