blob: 66f4680b7e129740c3946d1e147ac4d5ddeba3ad [file] [log] [blame]
Stefano Babic92e30c02011-11-30 23:56:53 +00001/*
2 * Copyright (C) 2011
3 * Stefano Babic, DENX Software Engineering, sbabic@denx.de.
4 *
5 * Copyright (C) 2009 TechNexion Ltd.
6 *
7 * Configuration for the Technexion twister board.
8 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02009 * SPDX-License-Identifier: GPL-2.0+
Stefano Babic92e30c02011-11-30 23:56:53 +000010 */
11
12#ifndef __CONFIG_H
13#define __CONFIG_H
14
15#include "tam3517-common.h"
16
17#define MACH_TYPE_TAM3517 2818
18#define CONFIG_MACH_TYPE MACH_TYPE_TAM3517
19
20#define CONFIG_TAM3517_SW3_SETTINGS
21#define CONFIG_XR16L2751
22
Stefano Babic92e30c02011-11-30 23:56:53 +000023
24#define CONFIG_BOOTFILE "uImage"
25
26#define CONFIG_HOSTNAME twister
27
28/*
29 * Miscellaneous configurable options
30 */
Stefano Babic92e30c02011-11-30 23:56:53 +000031#define CONFIG_SMC911X
32#define CONFIG_SMC911X_16_BIT
33#define CONFIG_SMC911X_BASE 0x2C000000
34#define CONFIG_SMC911X_NO_EEPROM
35
36#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \
37 "bootcmd=run nandboot\0"
38
Stefano Babic84c21fb2012-03-15 04:01:44 +000039/* SPL OS boot options */
40#define CONFIG_CMD_SPL
41#define CONFIG_CMD_SPL_WRITE_SIZE 0x400 /* 1024 byte */
42#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000
43#define CONFIG_CMD_SPL_NAND_OFS (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
44 0x600000)
45#define CONFIG_SPL_OS_BOOT
Stefano Babic84c21fb2012-03-15 04:01:44 +000046
47#define CONFIG_SYS_SPL_ARGS_ADDR (PHYS_SDRAM_1 + 0x100)
48#define CONFIG_SPL_BOARD_INIT
49
Jeroen Hofstee4b9b2c32013-12-21 18:06:33 +010050/* gpio 55 is used as SPL_OS_BOOT_KEY */
51#define CONFIG_OMAP3_GPIO_2
52
Stefano Babic92e30c02011-11-30 23:56:53 +000053#endif /* __CONFIG_H */