projects
/
microwatt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c198b2b
)
litedram: Add sdcard to soc features
author
Joel Stanley
<joel@jms.id.au>
Tue, 10 Aug 2021 09:19:29 +0000
(18:49 +0930)
committer
Joel Stanley
<joel@jms.id.au>
Tue, 10 Aug 2021 09:19:29 +0000
(18:49 +0930)
Signed-off-by: Joel Stanley <joel@jms.id.au>
litedram/gen-src/sdram_init/main.c
patch
|
blob
|
history
diff --git
a/litedram/gen-src/sdram_init/main.c
b/litedram/gen-src/sdram_init/main.c
index 4917e306142ca06e11836b717e2b324a752b730b..28a259987f4e937a8ad95588ff59e485970a278c 100644
(file)
--- a/
litedram/gen-src/sdram_init/main.c
+++ b/
litedram/gen-src/sdram_init/main.c
@@
-262,6
+262,8
@@
uint64_t main(void)
printf("SPIFLASH ");
if (ftr & SYS_REG_INFO_HAS_LITEETH)
printf("ETHERNET ");
+ if (ftr & SYS_REG_INFO_HAS_LITESDCARD)
+ printf("SDCARD ");
printf("\n");
if (ftr & SYS_REG_INFO_HAS_BRAM) {
val = readq(SYSCON_BASE + SYS_REG_BRAMINFO) & SYS_REG_BRAMINFO_SIZE_MASK;