litedram: Add sdcard to soc features

Signed-off-by: Joel Stanley <joel@jms.id.au>
pull/312/head
Joel Stanley 3 years ago
parent c198b2b82e
commit bc3995804f

@ -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…
Cancel
Save