Georg Schardt | 3ce59a1 | 2008-10-24 13:51:52 +0200 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2008 |
| 3 | * |
| 4 | * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@uam.es |
| 5 | * This work has been supported by: QTechnology http://qtec.com |
| 6 | * |
| 7 | * Georg Schardt <schardt@team-ctech.de> |
| 8 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 9 | * SPDX-License-Identifier: GPL-2.0+ |
Georg Schardt | 3ce59a1 | 2008-10-24 13:51:52 +0200 | [diff] [blame] | 10 | */ |
| 11 | |
Georg Schardt | 3ce59a1 | 2008-10-24 13:51:52 +0200 | [diff] [blame] | 12 | /* |
Wolfgang Denk | 82f15f3 | 2008-11-02 16:14:22 +0100 | [diff] [blame] | 13 | * Configuration file for the Virtex4FX12 Minimodul by Avnet/Memec, |
| 14 | * see http://www.em.avnet.com |
| 15 | */ |
Georg Schardt | 3ce59a1 | 2008-10-24 13:51:52 +0200 | [diff] [blame] | 16 | |
| 17 | #ifndef __CONFIG_FX12_H |
| 18 | #define __CONFIG_FX12_H |
| 19 | |
| 20 | #include "../board/avnet/fx12mm/xparameters.h" |
| 21 | |
| 22 | /* cmd config */ |
| 23 | #define CONFIG_CMD_JFFS2 |
Stefan Roese | b1423dd | 2009-03-19 13:30:36 +0100 | [diff] [blame] | 24 | #define CONFIG_CMD_MTDPARTS |
Stefan Roese | 5dc958f | 2009-05-12 14:32:58 +0200 | [diff] [blame] | 25 | #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ |
| 26 | #define CONFIG_FLASH_CFI_MTD |
Georg Schardt | 3ce59a1 | 2008-10-24 13:51:52 +0200 | [diff] [blame] | 27 | #undef CONFIG_CMD_NET |
| 28 | |
| 29 | /* sdram */ |
| 30 | #define CONFIG_SYS_SDRAM_SIZE_MB 64 |
| 31 | |
| 32 | /* environment */ |
| 33 | #define CONFIG_ENV_IS_IN_FLASH 1 |
| 34 | #define CONFIG_ENV_SIZE 0x10000 |
| 35 | #define CONFIG_ENV_SECT_SIZE 0x10000 |
| 36 | #define CONFIG_SYS_ENV_OFFSET 0xA0000 |
| 37 | #define CONFIG_ENV_ADDR (CONFIG_SYS_FLASH_BASE+CONFIG_SYS_ENV_OFFSET) |
| 38 | #define CONFIG_ENV_OVERWRITE 1 |
| 39 | |
| 40 | /*Misc*/ |
| 41 | #define CONFIG_SYS_PROMPT "FX12MM:/# " /* Monitor Command Prompt */ |
Wolfgang Denk | 82f15f3 | 2008-11-02 16:14:22 +0100 | [diff] [blame] | 42 | #define CONFIG_PREBOOT "echo U-Boot is up and running;" |
Georg Schardt | 3ce59a1 | 2008-10-24 13:51:52 +0200 | [diff] [blame] | 43 | |
| 44 | /*Flash*/ |
Georg Schardt | 3ce59a1 | 2008-10-24 13:51:52 +0200 | [diff] [blame] | 45 | #define CONFIG_SYS_FLASH_SIZE (4*1024*1024) |
| 46 | #define CONFIG_SYS_MAX_FLASH_SECT 71 |
Georg Schardt | 3ce59a1 | 2008-10-24 13:51:52 +0200 | [diff] [blame] | 47 | #define MTDIDS_DEFAULT "nor0=fx12mm-flash" |
| 48 | #define MTDPARTS_DEFAULT "mtdparts=fx12mm-flash:-(user)" |
| 49 | |
Georg Schardt | 3ce59a1 | 2008-10-24 13:51:52 +0200 | [diff] [blame] | 50 | #include "configs/xilinx-ppc405.h" |
| 51 | |
Wolfgang Denk | 82f15f3 | 2008-11-02 16:14:22 +0100 | [diff] [blame] | 52 | #endif /* __CONFIG_H */ |