From 1f0b3f81245b80d2a45a623884d95339ef4c9ae1 Mon Sep 17 00:00:00 2001 From: Caleb Jamison Date: Sun, 31 Mar 2019 10:33:39 -0500 Subject: [PATCH] Add ifdef check for MAIN_RAM_SIZE --- litex/soc/software/bios/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/soc/software/bios/main.c b/litex/soc/software/bios/main.c index 18215fef0..ba75f38c9 100644 --- a/litex/soc/software/bios/main.c +++ b/litex/soc/software/bios/main.c @@ -425,7 +425,9 @@ int main(int i, char **c) #ifdef L2_SIZE printf("\e[1mL2\e[0m: %dKB\n", L2_SIZE/1024); #endif +#ifdef MAIN_RAM_SIZE printf("\e[1mMAIN-RAM\e[0m: %dKB\n", MAIN_RAM_SIZE/1024); +#endif printf("\n"); printf("--========= \e[1mPeripherals init\e[0m ===========--\n");