mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-02-26 16:53:16 +00:00
litedram: Add sdcard to soc features
Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user