Skip to content

Commit

Permalink
mpfs_coremmc: clock and buswidth fixed
Browse files Browse the repository at this point in the history
4bit bus width support and FIC0 clock is 125MHz
  • Loading branch information
jnippula committed Feb 10, 2025
1 parent 8e01122 commit 57c64a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/risc-v/src/mpfs/mpfs_coremmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@

/* Clocks and timing */

#define MPFS_FPGA_FIC0_CLK (50000000)
#define MPFS_FPGA_FIC0_CLK (125000000)

#define COREMMC_BUSYTIMEOUT (180)
#define COREMMC_CMDTIMEOUT (100000)
Expand Down Expand Up @@ -1072,6 +1072,8 @@ static sdio_capset_t mpfs_capabilities(struct sdio_dev_s *dev)
caps |= SDIO_CAPS_1BIT_ONLY;
}

caps |= SDIO_CAPS_4BIT;

return caps;
}

Expand Down

0 comments on commit 57c64a5

Please sign in to comment.