From: Joel Stanley Date: Tue, 10 Aug 2021 09:19:29 +0000 (+0930) Subject: litedram: Add sdcard to soc features X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc3995804fdf6f48df85da114223097358f7ef57;p=microwatt.git litedram: Add sdcard to soc features Signed-off-by: Joel Stanley --- diff --git a/litedram/gen-src/sdram_init/main.c b/litedram/gen-src/sdram_init/main.c index 4917e30..28a2599 100644 --- 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;