This will allow it to be built for microwatt out of tree
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 23 Sep 2019 06:39:25 +0000 (08:39 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 23 Sep 2019 06:40:54 +0000 (08:40 +0200)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
litex/soc/software/bios/sdram.c

index 03dc2b134a1eb4f554c68916ecb212cc0b9855dd..f0c12edfe7188eb643440b961da6fb97cf37b3ce 100644 (file)
@@ -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