mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-13 15:18:09 +00:00
Merge pull request #312 from shenki/sdcard-soc-features
litedram: Add sdcard to soc features
This commit is contained in:
commit
65c131e89f
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user