From 71abdf5d82f476eba1f57eeac02427d295ce9be3 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Tue, 9 Oct 2018 11:36:24 -0400 Subject: [PATCH] mips: jz4740: JZ4740 does not have a MSC clock source select. Change-Id: Ic2af37d92bcb8b6b35684f113eb8e392fc2eb609 --- firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c index f7754426b4..d2438655e2 100644 --- a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c +++ b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c @@ -615,7 +615,7 @@ static inline void cpm_select_msc_clk(unsigned int rate) if (div == 0) div = 1; - REG_CPM_MSCCDR = MSCCDR_MCS | (div - 1); + REG_CPM_MSCCDR = (div - 1); } /* Set the MMC clock frequency */