mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Convert CONFIG_SYS_MMC_MAX_BLK_COUNT to Kconfig
This converts the following to Kconfig: CONFIG_SYS_MMC_MAX_BLK_COUNT Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
This commit is contained in:
@@ -39,6 +39,5 @@
|
||||
BOOTENV
|
||||
|
||||
/* TODO: Remove this once the SD clock is fixed */
|
||||
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 1024
|
||||
|
||||
#endif /* __HIKEY_H */
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
"loadaddr=20080000\0" \
|
||||
"ethrotate=yes\0"
|
||||
|
||||
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 8192
|
||||
|
||||
#if defined(CONFIG_MMC_OCTEONTX)
|
||||
#define MMC_SUPPORTS_TUNING
|
||||
/** EMMC specific defines */
|
||||
|
||||
@@ -42,8 +42,6 @@
|
||||
|
||||
/** Heap size for U-Boot */
|
||||
|
||||
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 8192
|
||||
|
||||
/** EMMC specific defines */
|
||||
|
||||
#endif /* __OCTEONTX_COMMON_H__ */
|
||||
|
||||
@@ -67,15 +67,6 @@
|
||||
*/
|
||||
#define CONFIG_DW_WDT_CLOCK_KHZ 25000
|
||||
|
||||
/*
|
||||
* MMC Driver
|
||||
*/
|
||||
#ifdef CONFIG_CMD_MMC
|
||||
/* FIXME */
|
||||
/* using smaller max blk cnt to avoid flooding the limited stack we have */
|
||||
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 256 /* FIXME -- SPL only? */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* NAND Support
|
||||
*/
|
||||
|
||||
@@ -81,9 +81,6 @@
|
||||
/*
|
||||
* SDMMC configurations
|
||||
*/
|
||||
#ifdef CONFIG_CMD_MMC
|
||||
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 256
|
||||
#endif
|
||||
/*
|
||||
* Flash configurations
|
||||
*/
|
||||
|
||||
@@ -28,8 +28,6 @@
|
||||
#define PHYS_SDRAM_2 0x8080000000
|
||||
#define PHYS_SDRAM_2_SIZE 0x180000000
|
||||
|
||||
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 127
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"bootm_size=0x20000000\0" \
|
||||
"load_addr=0xa0000000\0" \
|
||||
|
||||
@@ -124,8 +124,6 @@
|
||||
#define CONFIG_SYS_SERIAL0 V2M_UART0
|
||||
#define CONFIG_SYS_SERIAL1 V2M_UART1
|
||||
|
||||
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 127
|
||||
|
||||
/* Miscellaneous configurable options */
|
||||
#define LINUX_BOOT_PARAM_ADDR (V2M_BASE + 0x2000)
|
||||
|
||||
|
||||
@@ -952,11 +952,6 @@ int mmc_get_env_dev(void);
|
||||
/* Minimum partition switch timeout in units of 10-milliseconds */
|
||||
#define MMC_MIN_PART_SWITCH_TIME 30 /* 300 ms */
|
||||
|
||||
/* Set block count limit because of 16 bit register limit on some hardware*/
|
||||
#ifndef CONFIG_SYS_MMC_MAX_BLK_COUNT
|
||||
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 65535
|
||||
#endif
|
||||
|
||||
/**
|
||||
* mmc_get_blk_desc() - Get the block descriptor for an MMC device
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user