mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![Wolfgang Denk](/assets/img/avatar_default.png)
Recent cleanup actions resulted in a number of config.mk files that contained only LDSCRIPT definitions. Move these into th respective board config files and remove the now empty config.mk files. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Cc: Detlev Zundel <dzu@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Andre Schwarz <andre.schwarz@matrix-vision.de> Cc: Peter De Schrijver <p2@mind.be> Acked-by: Detlev Zundel < dzu@denx.de> Acked-by: Andre Schwarz <andre.schwarz@matrix-vision.de> Acked-by: Heiko Schocher<hs@denx.de> Acked-by: Matthias Fuchs <matthias.fuchs@esd.eu>
120 lines
3.2 KiB
C
120 lines
3.2 KiB
C
/*
|
|
* (C) Copyright 2003-2009
|
|
* Heiko Schocher, DENX Software Engineering, hs@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)
|
|
*/
|
|
|
|
#define CONFIG_UC101 1 /* UC101 board */
|
|
#define CONFIG_HOSTNAME uc101
|
|
|
|
#ifndef CONFIG_SYS_TEXT_BASE
|
|
#define CONFIG_SYS_TEXT_BASE 0xFFF00000
|
|
#endif
|
|
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds"
|
|
|
|
#include "manroland/common.h"
|
|
#include "manroland/mpc5200-common.h"
|
|
|
|
/*
|
|
* Serial console configuration
|
|
*/
|
|
#define CONFIG_BAUDRATE 115200 /* ... at 115200 bps */
|
|
|
|
/*
|
|
* BOOTP options
|
|
*/
|
|
#define CONFIG_BOOTP_BOOTFILESIZE
|
|
#define CONFIG_BOOTP_BOOTPATH
|
|
#define CONFIG_BOOTP_GATEWAY
|
|
#define CONFIG_BOOTP_HOSTNAME
|
|
|
|
/*
|
|
* Flash configuration
|
|
*/
|
|
#define CONFIG_SYS_MAX_FLASH_SECT 140
|
|
|
|
/*
|
|
* Environment settings
|
|
*/
|
|
#define CONFIG_ENV_SECT_SIZE 0x10000
|
|
|
|
/*
|
|
* Memory map
|
|
*/
|
|
#define CONFIG_SYS_IB_MASTER 0xc0510000 /* CS 6 */
|
|
#define CONFIG_SYS_IB_EPLD 0xc0500000 /* CS 7 */
|
|
|
|
/* SRAM */
|
|
#define CONFIG_SYS_SRAM_SIZE 0x200000
|
|
|
|
/*
|
|
* GPIO configuration
|
|
*/
|
|
#define CONFIG_SYS_GPS_PORT_CONFIG 0x4d558044
|
|
|
|
#define CONFIG_SYS_MEMTEST_START 0x00300000
|
|
#define CONFIG_SYS_MEMTEST_END 0x00f00000
|
|
|
|
#define CONFIG_SYS_LOAD_ADDR 0x300000
|
|
|
|
#define CONFIG_SYS_BOOTCS_CFG 0x00045D00
|
|
|
|
/* 8Mbit SRAM @0x80100000 */
|
|
#define CONFIG_SYS_CS1_SIZE 0x00200000
|
|
#define CONFIG_SYS_CS1_CFG 0x21D00
|
|
|
|
/* Display H1, Status Inputs, EPLD @0x80600000 8 Bit */
|
|
#define CONFIG_SYS_CS3_START CONFIG_SYS_DISPLAY_BASE
|
|
#define CONFIG_SYS_CS3_SIZE 0x00000100
|
|
#define CONFIG_SYS_CS3_CFG 0x00081802
|
|
|
|
/* Interbus Master 16 Bit */
|
|
#define CONFIG_SYS_CS6_START CONFIG_SYS_IB_MASTER
|
|
#define CONFIG_SYS_CS6_SIZE 0x00010000
|
|
#define CONFIG_SYS_CS6_CFG 0x00FF3500
|
|
|
|
/* Interbus EPLD 8 Bit */
|
|
#define CONFIG_SYS_CS7_START CONFIG_SYS_IB_EPLD
|
|
#define CONFIG_SYS_CS7_SIZE 0x00010000
|
|
#define CONFIG_SYS_CS7_CFG 0x00081800
|
|
|
|
/*-----------------------------------------------------------------------
|
|
* IDE/ATA stuff Supports IDE harddisk
|
|
*-----------------------------------------------------------------------
|
|
*/
|
|
|
|
#define CONFIG_SYS_IDE_MAXDEVICE 1 /* max. 2 drives per IDE bus*/
|
|
|
|
/*---------------------------------------------------------------------*/
|
|
/* Display addresses */
|
|
/*---------------------------------------------------------------------*/
|
|
#define CONFIG_SYS_DISP_CHR_RAM (CONFIG_SYS_DISPLAY_BASE + 0x38)
|
|
#define CONFIG_SYS_DISP_CWORD (CONFIG_SYS_DISPLAY_BASE + 0x30)
|
|
|
|
#endif /* __CONFIG_H */
|