2 * Configuration settings for quick boot from NAND 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_NAND_H
21 #define __OMAP3_EVM_QUICK_NAND_H
23 #include <asm/arch/cpu.h>
24 #include <asm/arch/omap3.h>
26 /* ----------------------------------------------------------------------------
27 * Supported U-boot commands
28 * ----------------------------------------------------------------------------
30 #define CONFIG_CMD_NAND
33 * Board revision is detected by probing the Ethernet chip.
35 * When revision is statically configured via CONFIG_STATIC_BOARD_REV,
36 * this option can be removed. Generated binary is leaner by ~16Kbytes.
38 #define CONFIG_CMD_NET
40 /* ----------------------------------------------------------------------------
41 * Supported U-boot features
42 * ----------------------------------------------------------------------------
44 #define CONFIG_SILENT_CONSOLE
45 #define CONFIG_ENV_IS_NOWHERE
47 /* -----------------------------------------------------------------------------
48 * Include common board configuration
49 * -----------------------------------------------------------------------------
51 #include "omap3_evm_common.h"
53 /* -----------------------------------------------------------------------------
55 * -----------------------------------------------------------------------------
57 #define CONFIG_BOOTDELAY 0
59 #define CONFIG_EXTRA_ENV_SETTINGS \
63 #define CONFIG_BOOTCOMMAND \
65 "nand read.i 0x80000000 280000 300000; " \
69 * Update the bootargs as necessary e.g. size of memory, partition and fstype
71 #define CONFIG_BOOTARGS \
73 "console=ttyO0,115200n8 " \
76 "root=/dev/mtdblock4 rw " \
79 #endif /* __OMAP3_EVM_QUICK_NAND_H */