Stefano Babic | 92e30c0 | 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 | * |
| 9 | * This program is free software; you can redistribute it and/or modify |
| 10 | * it under the terms of the GNU General Public License as published by |
| 11 | * the Free Software Foundation; either version 2 of the License, or |
| 12 | * (at your option) any later version. |
| 13 | * |
| 14 | * This program is distributed in the hope that it will be useful, |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | * GNU General Public License for more details. |
| 18 | * |
| 19 | * You should have received a copy of the GNU General Public License |
| 20 | * along with this program; if not, write to the Free Software |
| 21 | * Foundation, Inc. |
| 22 | */ |
| 23 | |
| 24 | #ifndef __CONFIG_H |
| 25 | #define __CONFIG_H |
| 26 | |
| 27 | #include "tam3517-common.h" |
| 28 | |
| 29 | #define MACH_TYPE_TAM3517 2818 |
| 30 | #define CONFIG_MACH_TYPE MACH_TYPE_TAM3517 |
| 31 | |
| 32 | #define CONFIG_TAM3517_SW3_SETTINGS |
| 33 | #define CONFIG_XR16L2751 |
| 34 | |
| 35 | #define CONFIG_BOOTDELAY 10 |
| 36 | |
| 37 | #define CONFIG_BOOTFILE "uImage" |
| 38 | |
| 39 | #define CONFIG_HOSTNAME twister |
| 40 | |
| 41 | /* |
| 42 | * Miscellaneous configurable options |
| 43 | */ |
| 44 | #define CONFIG_SYS_PROMPT "twister => " |
| 45 | |
| 46 | #define CONFIG_SMC911X |
| 47 | #define CONFIG_SMC911X_16_BIT |
| 48 | #define CONFIG_SMC911X_BASE 0x2C000000 |
| 49 | #define CONFIG_SMC911X_NO_EEPROM |
| 50 | |
| 51 | #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \ |
| 52 | "bootcmd=run nandboot\0" |
| 53 | |
Stefano Babic | 84c21fb | 2012-03-15 04:01:44 +0000 | [diff] [blame] | 54 | /* SPL OS boot options */ |
| 55 | #define CONFIG_CMD_SPL |
| 56 | #define CONFIG_CMD_SPL_WRITE_SIZE 0x400 /* 1024 byte */ |
| 57 | #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000 |
| 58 | #define CONFIG_CMD_SPL_NAND_OFS (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\ |
| 59 | 0x600000) |
| 60 | #define CONFIG_SPL_OS_BOOT |
Stefano Babic | 84c21fb | 2012-03-15 04:01:44 +0000 | [diff] [blame] | 61 | |
| 62 | #define CONFIG_SYS_SPL_ARGS_ADDR (PHYS_SDRAM_1 + 0x100) |
| 63 | #define CONFIG_SPL_BOARD_INIT |
| 64 | |
Stefano Babic | 92e30c0 | 2011-11-30 23:56:53 +0000 | [diff] [blame] | 65 | #endif /* __CONFIG_H */ |