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 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
14 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
15 * kind, whether express or implied; without even the implied warranty
16 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
20 #ifndef __OMAP3_EVM_QUICK_MMC_H
21 #define __OMAP3_EVM_QUICK_MMC_H
23 #include <asm/arch/cpu.h>
24 #include <asm/arch/omap3.h>
26 /* ----------------------------------------------------------------------------
27 * Supported U-boot commands
28 * ----------------------------------------------------------------------------
30 #define CONFIG_CMD_MMC
31 #define CONFIG_CMD_FAT
34 * Board revision is detected by probing the Ethernet chip.
36 * When revision is statically configured via CONFIG_STATIC_BOARD_REV,
37 * this option can be removed. Generated binary is leaner by ~16Kbytes.
39 #define CONFIG_CMD_NET
41 /* ----------------------------------------------------------------------------
42 * Supported U-boot features
43 * ----------------------------------------------------------------------------
45 #define CONFIG_SILENT_CONSOLE
46 #define CONFIG_ENV_IS_NOWHERE
48 /* ----------------------------------------------------------------------------
50 * ----------------------------------------------------------------------------
55 #define CONFIG_GENERIC_MMC
56 #define CONFIG_OMAP_HSMMC
57 #define CONFIG_DOS_PARTITION
59 /* -----------------------------------------------------------------------------
60 * Include common board configuration
61 * -----------------------------------------------------------------------------
63 #include "omap3_evm_common.h"
65 /* -----------------------------------------------------------------------------
67 * -----------------------------------------------------------------------------
69 #define CONFIG_BOOTDELAY 0
71 #define CONFIG_EXTRA_ENV_SETTINGS \
75 #define CONFIG_BOOTCOMMAND \
77 "fatload mmc 0 0x82000000 uImage; " \
81 * Update the bootargs as necessary e.g. size of memory, partition and fstype
83 #define CONFIG_BOOTARGS \
85 "console=ttyO0,115200n8 " \
88 "root=/dev/mmcblk0p2 rw " \
89 "rootfstype=ext3 rootwait"
91 #endif /* __OMAP3_EVM_QUICK_MMC_H */