mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-08-21 04:36:18 -04:00
Blackfin: cm-bf537e/cm-bf537u/tcm-bf537: enable mmc_spi support
These boards have an mmc/sd slot on them connected over SPI, so enable the driver. Signed-off-by: Harald Krapfenbauer <harald.krapfenbauer@bluetechnix.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
fff18bee7e
commit
c94101ae9c
@ -55,7 +55,7 @@
|
|||||||
#define CONFIG_EBIU_AMBCTL0_VAL (B1WAT_7 | B1RAT_11 | B1HT_2 | B1ST_3 | B0WAT_7 | B0RAT_11 | B0HT_2 | B0ST_3)
|
#define CONFIG_EBIU_AMBCTL0_VAL (B1WAT_7 | B1RAT_11 | B1HT_2 | B1ST_3 | B0WAT_7 | B0RAT_11 | B0HT_2 | B0ST_3)
|
||||||
#define CONFIG_EBIU_AMBCTL1_VAL (B3WAT_7 | B3RAT_11 | B3HT_2 | B3ST_3 | B2WAT_7 | B2RAT_11 | B2HT_2 | B2ST_3)
|
#define CONFIG_EBIU_AMBCTL1_VAL (B3WAT_7 | B3RAT_11 | B3HT_2 | B3ST_3 | B2WAT_7 | B2RAT_11 | B2HT_2 | B2ST_3)
|
||||||
|
|
||||||
#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
|
#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
|
||||||
#define CONFIG_SYS_MALLOC_LEN (128 * 1024)
|
#define CONFIG_SYS_MALLOC_LEN (128 * 1024)
|
||||||
|
|
||||||
|
|
||||||
@ -88,6 +88,13 @@
|
|||||||
#define CONFIG_SYS_MAX_FLASH_SECT 35
|
#define CONFIG_SYS_MAX_FLASH_SECT 35
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* SPI Settings
|
||||||
|
*/
|
||||||
|
#define CONFIG_BFIN_SPI
|
||||||
|
#define CONFIG_ENV_SPI_MAX_HZ 30000000
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Env Storage Settings
|
* Env Storage Settings
|
||||||
*/
|
*/
|
||||||
@ -120,6 +127,14 @@
|
|||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* SPI_MMC Settings
|
||||||
|
*/
|
||||||
|
#define CONFIG_MMC
|
||||||
|
#define CONFIG_GENERIC_MMC
|
||||||
|
#define CONFIG_MMC_SPI
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Misc Settings
|
* Misc Settings
|
||||||
*/
|
*/
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
#define CONFIG_EBIU_AMBCTL0_VAL (B1WAT_7 | B1RAT_11 | B1HT_2 | B1ST_3 | B0WAT_7 | B0RAT_11 | B0HT_2 | B0ST_3)
|
#define CONFIG_EBIU_AMBCTL0_VAL (B1WAT_7 | B1RAT_11 | B1HT_2 | B1ST_3 | B0WAT_7 | B0RAT_11 | B0HT_2 | B0ST_3)
|
||||||
#define CONFIG_EBIU_AMBCTL1_VAL (B3WAT_7 | B3RAT_11 | B3HT_2 | B3ST_3 | B2WAT_7 | B2RAT_11 | B2HT_2 | B2ST_3)
|
#define CONFIG_EBIU_AMBCTL1_VAL (B3WAT_7 | B3RAT_11 | B3HT_2 | B3ST_3 | B2WAT_7 | B2RAT_11 | B2HT_2 | B2ST_3)
|
||||||
|
|
||||||
#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
|
#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
|
||||||
#define CONFIG_SYS_MALLOC_LEN (128 * 1024)
|
#define CONFIG_SYS_MALLOC_LEN (128 * 1024)
|
||||||
|
|
||||||
|
|
||||||
@ -86,6 +86,13 @@
|
|||||||
#define CONFIG_SYS_MAX_FLASH_SECT 35
|
#define CONFIG_SYS_MAX_FLASH_SECT 35
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* SPI Settings
|
||||||
|
*/
|
||||||
|
#define CONFIG_BFIN_SPI
|
||||||
|
#define CONFIG_ENV_SPI_MAX_HZ 30000000
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Env Storage Settings
|
* Env Storage Settings
|
||||||
*/
|
*/
|
||||||
@ -118,6 +125,13 @@
|
|||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* SPI_MMC Settings
|
||||||
|
*/
|
||||||
|
#define CONFIG_MMC
|
||||||
|
#define CONFIG_GENERIC_MMC
|
||||||
|
#define CONFIG_MMC_SPI
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Misc Settings
|
* Misc Settings
|
||||||
*/
|
*/
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
#define CONFIG_EBIU_AMBCTL0_VAL (B1WAT_7 | B1RAT_11 | B1HT_2 | B1ST_3 | B0WAT_7 | B0RAT_11 | B0HT_2 | B0ST_3)
|
#define CONFIG_EBIU_AMBCTL0_VAL (B1WAT_7 | B1RAT_11 | B1HT_2 | B1ST_3 | B0WAT_7 | B0RAT_11 | B0HT_2 | B0ST_3)
|
||||||
#define CONFIG_EBIU_AMBCTL1_VAL (B3WAT_7 | B3RAT_11 | B3HT_2 | B3ST_3 | B2WAT_7 | B2RAT_11 | B2HT_2 | B2ST_3)
|
#define CONFIG_EBIU_AMBCTL1_VAL (B3WAT_7 | B3RAT_11 | B3HT_2 | B3ST_3 | B2WAT_7 | B2RAT_11 | B2HT_2 | B2ST_3)
|
||||||
|
|
||||||
#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
|
#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
|
||||||
#define CONFIG_SYS_MALLOC_LEN (128 * 1024)
|
#define CONFIG_SYS_MALLOC_LEN (128 * 1024)
|
||||||
|
|
||||||
|
|
||||||
@ -88,6 +88,13 @@
|
|||||||
#define CONFIG_SYS_MAX_FLASH_SECT 67
|
#define CONFIG_SYS_MAX_FLASH_SECT 67
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* SPI Settings
|
||||||
|
*/
|
||||||
|
#define CONFIG_BFIN_SPI
|
||||||
|
#define CONFIG_ENV_SPI_MAX_HZ 30000000
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Env Storage Settings
|
* Env Storage Settings
|
||||||
*/
|
*/
|
||||||
@ -120,6 +127,13 @@
|
|||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* SPI_MMC Settings
|
||||||
|
*/
|
||||||
|
#define CONFIG_MMC
|
||||||
|
#define CONFIG_GENERIC_MMC
|
||||||
|
#define CONFIG_MMC_SPI
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Misc Settings
|
* Misc Settings
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user