mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +08:00
configs/bambino-200e/include/board.h: Correct calculation of SDMMC clock configuration. The LPC43 has no SDMMC source clock divider. Error noted by Dave Marples.
This commit is contained in:
@@ -233,7 +233,7 @@
|
||||
#define BOARD_SDMMC_MAXFREQ 50000000
|
||||
#define BOARD_SDMMC_CEIL(a,b) (((a) + (b) - 1) / (b))
|
||||
|
||||
#define BOARD_SDMMC_CLKDIV BOARD_SDMMC_CEIL(BOARD_MAIN_CLK, BOARD_SDMMC_MAXFREQ)
|
||||
#define BOARD_SDMMC_CLKDIV (1) /* No source clock divider */
|
||||
#define BOARD_SDMMC_FREQUENCY (BOARD_MAIN_CLK / BOARD_SDMMC_CLKDIV)
|
||||
|
||||
/* Mode-dependent function clock division
|
||||
|
||||
Reference in New Issue
Block a user