diff mbox

[U-Boot,2/2] devkit8000: Add config to enable SPL MMC boot

Message ID 1317379294-16314-3-git-send-email-simonschwarzcor@gmail.com
State Accepted
Commit 99154714e29fbea8d5cd30e691ff4db990dcc6f4
Delegated to: Albert ARIBAUD
Headers show

Commit Message

Simon Schwarz Sept. 30, 2011, 10:41 a.m. UTC
Add MMC boot configs to devkit8000 config.

Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
---
 include/configs/devkit8000.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Comments

Albert ARIBAUD Oct. 14, 2011, 7:59 p.m. UTC | #1
Hi Simon,

Le 30/09/2011 12:41, Simon Schwarz a écrit :
> Add MMC boot configs to devkit8000 config.
>
> Signed-off-by: Simon Schwarz<simonschwarzcor@gmail.com>
> ---
>   include/configs/devkit8000.h |    5 +++++
>   1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
> index 5d1014b..cb68169 100644
> --- a/include/configs/devkit8000.h
> +++ b/include/configs/devkit8000.h
> @@ -325,7 +325,12 @@
>   #define CONFIG_SPL_SERIAL_SUPPORT
>   #define CONFIG_SPL_POWER_SUPPORT
>   #define CONFIG_SPL_NAND_SUPPORT
> +#define CONFIG_SPL_MMC_SUPPORT
> +#define CONFIG_SPL_FAT_SUPPORT
>   #define CONFIG_SPL_LDSCRIPT		"$(CPUDIR)/omap-common/u-boot-spl.lds"
> +#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME        "u-boot.img"
> +#define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION    1
> +#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
>
>   #define CONFIG_SPL_TEXT_BASE		0x40200000 /*CONFIG_SYS_SRAM_START*/
>   #define CONFIG_SPL_MAX_SIZE		0xB400  /* 45 K */

Applied to u-boot-arm/master, thanks!

Amicalement,
diff mbox

Patch

diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index 5d1014b..cb68169 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -325,7 +325,12 @@ 
 #define CONFIG_SPL_SERIAL_SUPPORT
 #define CONFIG_SPL_POWER_SUPPORT
 #define CONFIG_SPL_NAND_SUPPORT
+#define CONFIG_SPL_MMC_SUPPORT
+#define CONFIG_SPL_FAT_SUPPORT
 #define CONFIG_SPL_LDSCRIPT		"$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME        "u-boot.img"
+#define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION    1
+#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
 
 #define CONFIG_SPL_TEXT_BASE		0x40200000 /*CONFIG_SYS_SRAM_START*/
 #define CONFIG_SPL_MAX_SIZE		0xB400  /* 45 K */