From bc3995804fdf6f48df85da114223097358f7ef57 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Tue, 10 Aug 2021 18:49:29 +0930 Subject: [PATCH] litedram: Add sdcard to soc features Signed-off-by: Joel Stanley --- litedram/gen-src/sdram_init/main.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.30.2