Stefano Babic | d81b27a | 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 | * |
Wolfgang Denk | 3765b3e | 2013-10-07 13:07:26 +0200 | [diff] [blame] | 8 | * SPDX-License-Identifier: GPL-2.0+ |
Stefano Babic | d81b27a | 2012-10-10 21:11:46 +0000 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #ifndef __CONFIG_H |
| 12 | #define __CONFIG_H |
| 13 | |
| 14 | #include <asm/arch/imx-regs.h> |
| 15 | #include "woodburn_common.h" |
| 16 | |
| 17 | /* Set TEXT in RAM */ |
| 18 | #define CONFIG_SYS_TEXT_BASE 0x82000000 |
| 19 | |
Stefano Babic | d81b27a | 2012-10-10 21:11:46 +0000 | [diff] [blame] | 20 | /* |
| 21 | * SPL |
| 22 | */ |
| 23 | #define CONFIG_SPL |
| 24 | #define CONFIG_SPL_FRAMEWORK |
| 25 | #define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/arm1136/u-boot-spl.lds" |
| 26 | #define CONFIG_SPL_LIBCOMMON_SUPPORT |
| 27 | #define CONFIG_SPL_LIBGENERIC_SUPPORT |
| 28 | #define CONFIG_SPL_LIBDISK_SUPPORT |
| 29 | #define CONFIG_SPL_SERIAL_SUPPORT |
| 30 | #define CONFIG_SPL_MMC_SUPPORT |
| 31 | #define CONFIG_SPL_BOARD_INIT |
| 32 | #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x100 /* address 0x60000 */ |
| 33 | #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS 0x400 /* 512 KB */ |
| 34 | #define CONFIG_SPL_GPIO_SUPPORT |
| 35 | |
| 36 | #define CONFIG_SPL_TEXT_BASE 0x10002300 |
| 37 | #define CONFIG_SPL_MAX_SIZE (64 * 1024) /* 8 KB for stack */ |
| 38 | #define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK |
| 39 | |
| 40 | #define CONFIG_SYS_SPL_MALLOC_START 0x8f000000 |
| 41 | #define CONFIG_SYS_SPL_MALLOC_SIZE 0x80000 |
| 42 | #define CONFIG_SPL_BSS_START_ADDR 0x8f080000 /* end of RAM */ |
| 43 | #define CONFIG_SPL_BSS_MAX_SIZE 0x80000 |
| 44 | |
| 45 | #endif /* __CONFIG_H */ |