Stefano Babic | 1047c0c | 2011-11-30 23:56:53 +0000 | [diff] [blame] | 1 | /* |
| 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 Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 9 | * SPDX-License-Identifier: GPL-2.0+ |
Stefano Babic | 1047c0c | 2011-11-30 23:56:53 +0000 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #ifndef __CONFIG_H |
| 13 | #define __CONFIG_H |
| 14 | |
| 15 | #include "tam3517-common.h" |
| 16 | |
Stefano Babic | 1047c0c | 2011-11-30 23:56:53 +0000 | [diff] [blame] | 17 | #define CONFIG_MACH_TYPE MACH_TYPE_TAM3517 |
| 18 | |
| 19 | #define CONFIG_TAM3517_SW3_SETTINGS |
| 20 | #define CONFIG_XR16L2751 |
| 21 | |
Stefano Babic | 1047c0c | 2011-11-30 23:56:53 +0000 | [diff] [blame] | 22 | |
| 23 | #define CONFIG_BOOTFILE "uImage" |
| 24 | |
| 25 | #define CONFIG_HOSTNAME twister |
| 26 | |
| 27 | /* |
| 28 | * Miscellaneous configurable options |
| 29 | */ |
Stefano Babic | 1047c0c | 2011-11-30 23:56:53 +0000 | [diff] [blame] | 30 | #define CONFIG_SMC911X |
| 31 | #define CONFIG_SMC911X_16_BIT |
| 32 | #define CONFIG_SMC911X_BASE 0x2C000000 |
| 33 | #define CONFIG_SMC911X_NO_EEPROM |
| 34 | |
| 35 | #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \ |
| 36 | "bootcmd=run nandboot\0" |
| 37 | |
Stefano Babic | 7f0461e | 2012-03-15 04:01:44 +0000 | [diff] [blame] | 38 | /* SPL OS boot options */ |
| 39 | #define CONFIG_CMD_SPL |
| 40 | #define CONFIG_CMD_SPL_WRITE_SIZE 0x400 /* 1024 byte */ |
| 41 | #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000 |
| 42 | #define CONFIG_CMD_SPL_NAND_OFS (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\ |
| 43 | 0x600000) |
Stefano Babic | 7f0461e | 2012-03-15 04:01:44 +0000 | [diff] [blame] | 44 | |
| 45 | #define CONFIG_SYS_SPL_ARGS_ADDR (PHYS_SDRAM_1 + 0x100) |
Stefano Babic | 7f0461e | 2012-03-15 04:01:44 +0000 | [diff] [blame] | 46 | |
Stefano Babic | 1047c0c | 2011-11-30 23:56:53 +0000 | [diff] [blame] | 47 | #endif /* __CONFIG_H */ |