Merge pull request #312 from shenki/sdcard-soc-features

litedram: Add sdcard to soc features
remove-potato-uart
Michael Neuling 3 years ago committed by GitHub
commit 65c131e89f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -262,6 +262,8 @@ uint64_t main(void)
printf("SPIFLASH "); printf("SPIFLASH ");
if (ftr & SYS_REG_INFO_HAS_LITEETH) if (ftr & SYS_REG_INFO_HAS_LITEETH)
printf("ETHERNET "); printf("ETHERNET ");
if (ftr & SYS_REG_INFO_HAS_LITESDCARD)
printf("SDCARD ");
printf("\n"); printf("\n");
if (ftr & SYS_REG_INFO_HAS_BRAM) { if (ftr & SYS_REG_INFO_HAS_BRAM) {
val = readq(SYSCON_BASE + SYS_REG_BRAMINFO) & SYS_REG_BRAMINFO_SIZE_MASK; val = readq(SYSCON_BASE + SYS_REG_BRAMINFO) & SYS_REG_BRAMINFO_SIZE_MASK;

Loading…
Cancel
Save