2008-08-21 18:44:49 +00:00
|
|
|
/*
|
2009-09-23 05:56:04 +00:00
|
|
|
* (C) Copyright 2008-2009
|
2008-08-21 18:44:49 +00:00
|
|
|
* Heiko Schocher, DENX Software Engineering, hs@denx.de.
|
|
|
|
*
|
|
|
|
* (C) Copyright 2003-2005
|
|
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
*
|
|
|
|
* See file CREDITS for list of people who contributed to this
|
|
|
|
* project.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* High Level Configuration Options
|
|
|
|
* (easy to change)
|
|
|
|
*/
|
|
|
|
|
2009-09-23 05:56:04 +00:00
|
|
|
#define CONFIG_MUCMC52 1 /* MUCMC52 board */
|
|
|
|
#define CONFIG_HOSTNAME mucmc52
|
2008-08-21 18:44:49 +00:00
|
|
|
|
2010-10-06 07:05:45 +00:00
|
|
|
#ifndef CONFIG_SYS_TEXT_BASE
|
|
|
|
#define CONFIG_SYS_TEXT_BASE 0xFFF00000
|
|
|
|
#endif
|
|
|
|
|
2009-09-23 05:56:04 +00:00
|
|
|
#include "manroland/common.h"
|
|
|
|
#include "manroland/mpc5200-common.h"
|
2008-08-21 18:44:49 +00:00
|
|
|
|
|
|
|
#define CONFIG_LAST_STAGE_INIT
|
|
|
|
/*
|
|
|
|
* Serial console configuration
|
|
|
|
*/
|
|
|
|
#define CONFIG_BAUDRATE 38400 /* ... at 38400 bps */
|
|
|
|
|
|
|
|
#define CONFIG_CMD_PCI
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Flash configuration
|
|
|
|
*/
|
2009-09-23 05:56:04 +00:00
|
|
|
#define CONFIG_SYS_MAX_FLASH_SECT 67
|
2008-08-21 18:44:49 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Environment settings
|
|
|
|
*/
|
2008-09-10 20:48:06 +00:00
|
|
|
#define CONFIG_ENV_SECT_SIZE 0x20000
|
2008-08-21 18:44:49 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Memory map
|
|
|
|
*/
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_STATUS1_BASE 0x80600200
|
|
|
|
#define CONFIG_SYS_STATUS2_BASE 0x80600300
|
|
|
|
#define CONFIG_SYS_PMI_UNI_BASE 0x80800000
|
|
|
|
#define CONFIG_SYS_PMI_BROAD_BASE 0x80810000
|
2008-08-21 18:44:49 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* GPIO configuration
|
|
|
|
*/
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_GPS_PORT_CONFIG 0x8D550644
|
2008-08-21 18:44:49 +00:00
|
|
|
|
2009-09-23 05:56:04 +00:00
|
|
|
#define CONFIG_SYS_MEMTEST_START 0x00100000
|
|
|
|
#define CONFIG_SYS_MEMTEST_END 0x00f00000
|
2008-08-21 18:44:49 +00:00
|
|
|
|
2009-09-23 05:56:04 +00:00
|
|
|
#define CONFIG_SYS_LOAD_ADDR 0x100000
|
2008-08-21 18:44:49 +00:00
|
|
|
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_BOOTCS_CFG 0x0004FB00
|
2008-08-21 18:44:49 +00:00
|
|
|
|
|
|
|
/* 8Mbit SRAM @0x80100000 */
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_CS1_SIZE 0x00100000
|
|
|
|
#define CONFIG_SYS_CS1_CFG 0x00019B00
|
2008-08-21 18:44:49 +00:00
|
|
|
|
2010-09-13 10:12:33 +00:00
|
|
|
#define CONFIG_SYS_SRAM_SIZE CONFIG_SYS_CS1_SIZE
|
|
|
|
|
2008-08-21 18:44:49 +00:00
|
|
|
/* FRAM 32Kbyte @0x80700000 */
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_CS2_START 0x80700000
|
|
|
|
#define CONFIG_SYS_CS2_SIZE 0x00008000
|
|
|
|
#define CONFIG_SYS_CS2_CFG 0x00019800
|
2008-08-21 18:44:49 +00:00
|
|
|
|
|
|
|
/* Display H1, Status Inputs, EPLD @0x80600000 */
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_CS3_START 0x80600000
|
|
|
|
#define CONFIG_SYS_CS3_SIZE 0x00100000
|
|
|
|
#define CONFIG_SYS_CS3_CFG 0x00019800
|
2008-08-21 18:44:49 +00:00
|
|
|
|
|
|
|
/* PMI Unicast 32Kbyte @0x80800000 */
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_CS6_START CONFIG_SYS_PMI_UNI_BASE
|
|
|
|
#define CONFIG_SYS_CS6_SIZE 0x00008000
|
|
|
|
#define CONFIG_SYS_CS6_CFG 0xFFFFF930
|
2008-08-21 18:44:49 +00:00
|
|
|
|
|
|
|
/* PMI Broadcast 32Kbyte @0x80810000 */
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_CS7_START CONFIG_SYS_PMI_BROAD_BASE
|
|
|
|
#define CONFIG_SYS_CS7_SIZE 0x00008000
|
|
|
|
#define CONFIG_SYS_CS7_CFG 0xFF00F930
|
2008-08-21 18:44:49 +00:00
|
|
|
|
|
|
|
/*-----------------------------------------------------------------------
|
|
|
|
* IDE/ATA stuff Supports IDE harddisk
|
|
|
|
*-----------------------------------------------------------------------
|
|
|
|
*/
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_IDE_MAXDEVICE 1 /* max. 2 drives per IDE bus */
|
2008-08-21 18:44:49 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* PCI Mapping:
|
|
|
|
* 0x40000000 - 0x4fffffff - PCI Memory
|
|
|
|
* 0x50000000 - 0x50ffffff - PCI IO Space
|
|
|
|
*/
|
|
|
|
#define CONFIG_PCI 1
|
|
|
|
#define CONFIG_PCI_PNP 1
|
|
|
|
#define CONFIG_PCI_SCAN_SHOW 1
|
|
|
|
#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1
|
|
|
|
|
|
|
|
#define CONFIG_PCI_MEM_BUS 0x40000000
|
|
|
|
#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
|
|
|
|
#define CONFIG_PCI_MEM_SIZE 0x10000000
|
|
|
|
|
|
|
|
#define CONFIG_PCI_IO_BUS 0x50000000
|
|
|
|
#define CONFIG_PCI_IO_PHYS CONFIG_PCI_IO_BUS
|
|
|
|
#define CONFIG_PCI_IO_SIZE 0x01000000
|
|
|
|
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_ISA_IO CONFIG_PCI_IO_BUS
|
2008-08-21 18:44:49 +00:00
|
|
|
|
|
|
|
/*---------------------------------------------------------------------*/
|
|
|
|
/* Display addresses */
|
|
|
|
/*---------------------------------------------------------------------*/
|
|
|
|
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_DISP_CHR_RAM (CONFIG_SYS_DISPLAY_BASE + 0x38)
|
|
|
|
#define CONFIG_SYS_DISP_CWORD (CONFIG_SYS_DISPLAY_BASE + 0x30)
|
2008-08-21 18:44:49 +00:00
|
|
|
|
|
|
|
#endif /* __CONFIG_H */
|