From 735ea196dd92f1f31c7951add2bd46f7d04c25e6 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Mon, 23 Sep 2019 08:39:25 +0200 Subject: [PATCH] This will allow it to be built for microwatt out of tree Signed-off-by: Benjamin Herrenschmidt --- litex/soc/software/bios/sdram.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index 03dc2b13..f0c12edf 100644 --- a/litex/soc/software/bios/sdram.c +++ b/litex/soc/software/bios/sdram.c @@ -42,6 +42,8 @@ __attribute__((unused)) static void cdelay(int i) __asm__ volatile("nop"); #elif defined (__rocket__) __asm__ volatile("nop"); +#elif defined (__powerpc__) + __asm__ volatile("nop"); #else #error Unsupported architecture #endif -- 2.30.2