Stefano Babic | 6ec4b95 | 2012-10-10 21:11:46 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2011, Stefano Babic <sbabic@denx.de> |
| 3 | * |
| 4 | * (C) Copyright 2008-2010 Freescale Semiconductor, Inc. |
| 5 | * |
| 6 | * Configuration for the woodburn board. |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or |
| 9 | * modify it under the terms of the GNU General Public License as |
| 10 | * published by the Free Software Foundation; either version 2 of |
| 11 | * the License, or (at your option) any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * along with this program; if not, write to the Free Software |
| 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 21 | * MA 02111-1307 USA |
| 22 | */ |
| 23 | |
| 24 | #ifndef __CONFIG_H |
| 25 | #define __CONFIG_H |
| 26 | |
| 27 | #include <asm/arch/imx-regs.h> |
| 28 | #include "woodburn_common.h" |
| 29 | |
| 30 | /* Set TEXT in RAM */ |
| 31 | #define CONFIG_SYS_TEXT_BASE 0x82000000 |
| 32 | |
| 33 | #define CONFIG_BOOT_INTERNAL |
| 34 | |
| 35 | /* |
| 36 | * SPL |
| 37 | */ |
| 38 | #define CONFIG_SPL |
| 39 | #define CONFIG_SPL_FRAMEWORK |
| 40 | #define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/arm1136/u-boot-spl.lds" |
| 41 | #define CONFIG_SPL_LIBCOMMON_SUPPORT |
| 42 | #define CONFIG_SPL_LIBGENERIC_SUPPORT |
| 43 | #define CONFIG_SPL_LIBDISK_SUPPORT |
| 44 | #define CONFIG_SPL_SERIAL_SUPPORT |
| 45 | #define CONFIG_SPL_MMC_SUPPORT |
| 46 | #define CONFIG_SPL_BOARD_INIT |
| 47 | #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x100 /* address 0x60000 */ |
| 48 | #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS 0x400 /* 512 KB */ |
| 49 | #define CONFIG_SPL_GPIO_SUPPORT |
| 50 | |
| 51 | #define CONFIG_SPL_TEXT_BASE 0x10002300 |
| 52 | #define CONFIG_SPL_MAX_SIZE (64 * 1024) /* 8 KB for stack */ |
| 53 | #define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK |
| 54 | |
| 55 | #define CONFIG_SYS_SPL_MALLOC_START 0x8f000000 |
| 56 | #define CONFIG_SYS_SPL_MALLOC_SIZE 0x80000 |
| 57 | #define CONFIG_SPL_BSS_START_ADDR 0x8f080000 /* end of RAM */ |
| 58 | #define CONFIG_SPL_BSS_MAX_SIZE 0x80000 |
| 59 | |
| 60 | #endif /* __CONFIG_H */ |