2006-12-21 15:14:48 +00:00
|
|
|
/*
|
2009-09-23 05:56:04 +00:00
|
|
|
* (C) Copyright 2003-2009
|
2006-12-21 15:14:48 +00:00
|
|
|
* Heiko Schocher, DENX Software Engineering, hs@denx.de.
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2006-12-21 15:14:48 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* High Level Configuration Options
|
|
|
|
* (easy to change)
|
|
|
|
*/
|
|
|
|
|
2009-09-23 05:56:04 +00:00
|
|
|
#define CONFIG_UC101 1 /* UC101 board */
|
|
|
|
#define CONFIG_HOSTNAME uc101
|
2006-12-21 15:14:48 +00:00
|
|
|
|
2010-10-06 07:05:45 +00:00
|
|
|
#ifndef CONFIG_SYS_TEXT_BASE
|
|
|
|
#define CONFIG_SYS_TEXT_BASE 0xFFF00000
|
|
|
|
#endif
|
2010-11-28 20:18:58 +00:00
|
|
|
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds"
|
2010-10-06 07:05:45 +00:00
|
|
|
|
2009-09-23 05:56:04 +00:00
|
|
|
#include "manroland/common.h"
|
|
|
|
#include "manroland/mpc5200-common.h"
|
2008-05-09 00:02:12 +00:00
|
|
|
|
2006-12-21 15:14:48 +00:00
|
|
|
/*
|
|
|
|
* Serial console configuration
|
|
|
|
*/
|
|
|
|
#define CONFIG_BAUDRATE 115200 /* ... at 115200 bps */
|
2007-07-05 03:33:38 +00:00
|
|
|
|
2007-07-10 15:12:10 +00:00
|
|
|
/*
|
|
|
|
* BOOTP options
|
|
|
|
*/
|
|
|
|
#define CONFIG_BOOTP_BOOTFILESIZE
|
|
|
|
#define CONFIG_BOOTP_BOOTPATH
|
|
|
|
#define CONFIG_BOOTP_GATEWAY
|
|
|
|
#define CONFIG_BOOTP_HOSTNAME
|
|
|
|
|
2006-12-21 15:14:48 +00:00
|
|
|
/*
|
|
|
|
* Flash configuration
|
|
|
|
*/
|
2009-09-23 05:56:04 +00:00
|
|
|
#define CONFIG_SYS_MAX_FLASH_SECT 140
|
2006-12-21 15:14:48 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Environment settings
|
|
|
|
*/
|
2008-09-10 20:48:06 +00:00
|
|
|
#define CONFIG_ENV_SECT_SIZE 0x10000
|
2006-12-21 15:14:48 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Memory map
|
|
|
|
*/
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_IB_MASTER 0xc0510000 /* CS 6 */
|
|
|
|
#define CONFIG_SYS_IB_EPLD 0xc0500000 /* CS 7 */
|
2006-12-21 15:14:48 +00:00
|
|
|
|
|
|
|
/* SRAM */
|
2010-09-13 10:12:33 +00:00
|
|
|
#define CONFIG_SYS_SRAM_SIZE 0x200000
|
2006-12-21 15:14:48 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* GPIO configuration
|
|
|
|
*/
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_GPS_PORT_CONFIG 0x4d558044
|
2006-12-21 15:14:48 +00:00
|
|
|
|
2009-09-23 05:56:04 +00:00
|
|
|
#define CONFIG_SYS_MEMTEST_START 0x00300000
|
|
|
|
#define CONFIG_SYS_MEMTEST_END 0x00f00000
|
2006-12-21 15:14:48 +00:00
|
|
|
|
2009-09-23 05:56:04 +00:00
|
|
|
#define CONFIG_SYS_LOAD_ADDR 0x300000
|
2006-12-21 15:14:48 +00:00
|
|
|
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_BOOTCS_CFG 0x00045D00
|
2006-12-21 15:14:48 +00:00
|
|
|
|
|
|
|
/* 8Mbit SRAM @0x80100000 */
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_CS1_SIZE 0x00200000
|
|
|
|
#define CONFIG_SYS_CS1_CFG 0x21D00
|
2006-12-21 15:14:48 +00:00
|
|
|
|
|
|
|
/* Display H1, Status Inputs, EPLD @0x80600000 8 Bit */
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_CS3_START CONFIG_SYS_DISPLAY_BASE
|
|
|
|
#define CONFIG_SYS_CS3_SIZE 0x00000100
|
|
|
|
#define CONFIG_SYS_CS3_CFG 0x00081802
|
2006-12-21 15:14:48 +00:00
|
|
|
|
|
|
|
/* Interbus Master 16 Bit */
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_CS6_START CONFIG_SYS_IB_MASTER
|
|
|
|
#define CONFIG_SYS_CS6_SIZE 0x00010000
|
|
|
|
#define CONFIG_SYS_CS6_CFG 0x00FF3500
|
2006-12-21 15:14:48 +00:00
|
|
|
|
|
|
|
/* Interbus EPLD 8 Bit */
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_CS7_START CONFIG_SYS_IB_EPLD
|
|
|
|
#define CONFIG_SYS_CS7_SIZE 0x00010000
|
|
|
|
#define CONFIG_SYS_CS7_CFG 0x00081800
|
2006-12-21 15:14:48 +00:00
|
|
|
|
|
|
|
/*-----------------------------------------------------------------------
|
|
|
|
* IDE/ATA stuff Supports IDE harddisk
|
|
|
|
*-----------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
2009-09-23 05:56:04 +00:00
|
|
|
#define CONFIG_SYS_IDE_MAXDEVICE 1 /* max. 2 drives per IDE bus*/
|
2006-12-21 15:14:48 +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)
|
2006-12-21 15:14:48 +00:00
|
|
|
|
|
|
|
#endif /* __CONFIG_H */
|