projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f452d3e
)
Add ifdef check for MAIN_RAM_SIZE
author
Caleb Jamison
<cbjamo@gmail.com>
Sun, 31 Mar 2019 15:33:39 +0000
(10:33 -0500)
committer
Caleb Jamison
<cbjamo@gmail.com>
Sun, 31 Mar 2019 15:33:39 +0000
(10:33 -0500)
litex/soc/software/bios/main.c
patch
|
blob
|
history
diff --git
a/litex/soc/software/bios/main.c
b/litex/soc/software/bios/main.c
index 18215fef0ca38a0559cd452f53135a47ce2ca6b3..ba75f38c9bfdaf600f51d004539334d1c5e691f4 100644
(file)
--- 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");