From: Caleb Jamison Date: Sun, 31 Mar 2019 15:33:39 +0000 (-0500) Subject: Add ifdef check for MAIN_RAM_SIZE X-Git-Tag: 24jan2021_ls180~1349^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f0b3f81245b80d2a45a623884d95339ef4c9ae1;p=litex.git Add ifdef check for MAIN_RAM_SIZE --- diff --git a/litex/soc/software/bios/main.c b/litex/soc/software/bios/main.c index 18215fef..ba75f38c 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");