fix(intel): fix eMMC driver issues in boot flow on agilex5Fixed issue where reading the EXT_CSD register via CMD8with DMA enabled returned 0 value. Updated the read modeto handle this case correc
fix(intel): fix eMMC driver issues in boot flow on agilex5Fixed issue where reading the EXT_CSD register via CMD8with DMA enabled returned 0 value. Updated the read modeto handle this case correctly.Added polling for the ICS bit after enabling ICE whensetting the SDCLK rate. Introduced delay to ensureproper clock stabilization.Corrected SD_HOST_CLK to data driven from the clock manageras sdmclk.eMMC operates in legacy mode, which has a maximumsupported clock rate of 26 MHz. Updated the clocksetting to 25 MHz to meet this requirement.Change-Id: I4ac2b9b69b5dec2c8166d06c736d9c2c549607deSigned-off-by: Boon Khai Ng <boon.khai.ng@altera.com>Signed-off-by: Jit Loon Lim <jit.loon.lim@altera.com>
show more ...
fix(intel): add memory alignment at cadence SD/eMMC driver's descriptorWhen compile using arm gcc compiler with versions 12 above,the cadence SD/eMMC driver will failed with ADMA error. Whensendi
fix(intel): add memory alignment at cadence SD/eMMC driver's descriptorWhen compile using arm gcc compiler with versions 12 above,the cadence SD/eMMC driver will failed with ADMA error. Whensending MMC command. The memory is not aligned correctlywhen using different version of gcc.The descriptor memory must be aligned to 4 byte boundarywith 2 least significant bits set to 0 in 32-bit ADMAaddressing mode and aligned to 8 byte boundary with3 least significant bits set to 0 in 64-bit ADMAaddresing mode.Since 8 byte boundary is common to both 4 byte and8 byte boundary hence aligning the descriptormemory with 8 byte boundary.Change-Id: Ie56d2aef22b4e4ef0fa516b9cda53b33d6316cb7Signed-off-by: Boon Khai Ng <boon.khai.ng@altera.com>Signed-off-by: Jit Loon Lim <jit.loon.lim@altera.com>
fix(intel): refactor SDMMC driver for Altera productsRefactor to be more robust. Removed duplicated and not used functions.Add in ADMA read.Change-Id: I1a5a00397ece6f9ccc5916225ab5317010b01b52S
fix(intel): refactor SDMMC driver for Altera productsRefactor to be more robust. Removed duplicated and not used functions.Add in ADMA read.Change-Id: I1a5a00397ece6f9ccc5916225ab5317010b01b52Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>Signed-off-by: Sieu Mun Tang <sieu.mun.tang@intel.com>
feat(intel): sdmmc/nand/combo-phy/qspi driver for Agilex5 SoC FPGAThis patch is used to implement sdmmc/nand/combo-phydriver to support Cadence IP for Agilex5 SoC FPGA. 1. Added SDMMC/NAND/COMBO-
feat(intel): sdmmc/nand/combo-phy/qspi driver for Agilex5 SoC FPGAThis patch is used to implement sdmmc/nand/combo-phydriver to support Cadence IP for Agilex5 SoC FPGA. 1. Added SDMMC/NAND/COMBO-PHY support. 2. Updated product name -> Agilex5 3. Updated QSPI base addressSigned-off-by: Jit Loon Lim <jit.loon.lim@intel.com>Change-Id: I6db689d2b784c9f59a25701ab34517f6f6b0a0e6