2 * Configuration settings for quick boot from MMC on OMAP3 EVM.
4 * Copyright (C) 2006-2010 Texas Instruments Incorporated - http://www.ti.com/
7 * Sanjeev Premi <premi@ti.com>
9 * SPDX-License-Identifier: GPL-2.0+
12 #ifndef __OMAP3_EVM_QUICK_MMC_H
13 #define __OMAP3_EVM_QUICK_MMC_H
15 #include <asm/arch/cpu.h>
16 #include <asm/arch/omap.h>
18 /* ----------------------------------------------------------------------------
19 * Supported U-boot commands
20 * ----------------------------------------------------------------------------
22 #define CONFIG_CMD_MMC
23 #define CONFIG_CMD_FAT
26 * Board revision is detected by probing the Ethernet chip.
28 * When revision is statically configured via CONFIG_STATIC_BOARD_REV,
29 * this option can be removed. Generated binary is leaner by ~16Kbytes.
32 /* ----------------------------------------------------------------------------
33 * Supported U-boot features
34 * ----------------------------------------------------------------------------
36 #define CONFIG_SILENT_CONSOLE
37 #define CONFIG_ENV_IS_NOWHERE
39 /* ----------------------------------------------------------------------------
41 * ----------------------------------------------------------------------------
46 #define CONFIG_GENERIC_MMC
47 #define CONFIG_OMAP_HSMMC
48 #define CONFIG_DOS_PARTITION
50 /* -----------------------------------------------------------------------------
51 * Include common board configuration
52 * -----------------------------------------------------------------------------
54 #include "omap3_evm_common.h"
56 /* -----------------------------------------------------------------------------
58 * -----------------------------------------------------------------------------
60 #define CONFIG_BOOTDELAY 0
62 #define CONFIG_EXTRA_ENV_SETTINGS \
66 #define CONFIG_BOOTCOMMAND \
68 "fatload mmc 0 0x82000000 uImage; " \
72 * Update the bootargs as necessary e.g. size of memory, partition and fstype
74 #define CONFIG_BOOTARGS \
76 "console=ttyO0,115200n8 " \
79 "root=/dev/mmcblk0p2 rw " \
80 "rootfstype=ext3 rootwait"
85 #define CONFIG_SPL_MMC_SUPPORT
86 #define CONFIG_SPL_FAT_SUPPORT
87 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
88 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS 0x200 /* 256 KB */
89 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1
90 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
92 #endif /* __OMAP3_EVM_QUICK_MMC_H */