mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 00:48:52 +09:00
ppc: xilinx-ppc405: Remove support for fx12mm
It is just a specialized version of the xilinx-ppc405 Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Stefan Roese <sr@denx.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
9ac0efd292
commit
70c29dcdbc
@ -55,9 +55,6 @@ config TARGET_YOSEMITE
|
|||||||
config TARGET_YUCCA
|
config TARGET_YUCCA
|
||||||
bool "Support yucca"
|
bool "Support yucca"
|
||||||
|
|
||||||
config TARGET_FX12MM
|
|
||||||
bool "Support fx12mm"
|
|
||||||
|
|
||||||
config TARGET_V5FX30TEVAL
|
config TARGET_V5FX30TEVAL
|
||||||
bool "Support v5fx30teval"
|
bool "Support v5fx30teval"
|
||||||
|
|
||||||
@ -136,7 +133,6 @@ source "board/amcc/sequoia/Kconfig"
|
|||||||
source "board/amcc/walnut/Kconfig"
|
source "board/amcc/walnut/Kconfig"
|
||||||
source "board/amcc/yosemite/Kconfig"
|
source "board/amcc/yosemite/Kconfig"
|
||||||
source "board/amcc/yucca/Kconfig"
|
source "board/amcc/yucca/Kconfig"
|
||||||
source "board/avnet/fx12mm/Kconfig"
|
|
||||||
source "board/avnet/v5fx30teval/Kconfig"
|
source "board/avnet/v5fx30teval/Kconfig"
|
||||||
source "board/esd/cpci2dp/Kconfig"
|
source "board/esd/cpci2dp/Kconfig"
|
||||||
source "board/esd/cpci405/Kconfig"
|
source "board/esd/cpci405/Kconfig"
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
if TARGET_FX12MM
|
|
||||||
|
|
||||||
config SYS_BOARD
|
|
||||||
default "fx12mm"
|
|
||||||
|
|
||||||
config SYS_VENDOR
|
|
||||||
default "avnet"
|
|
||||||
|
|
||||||
config SYS_CONFIG_NAME
|
|
||||||
default "fx12mm"
|
|
||||||
|
|
||||||
endif
|
|
@ -1,7 +0,0 @@
|
|||||||
FX12MM BOARD
|
|
||||||
M: Georg Schardt <schardt@team-ctech.de>
|
|
||||||
S: Maintained
|
|
||||||
F: board/avnet/fx12mm/
|
|
||||||
F: include/configs/fx12mm.h
|
|
||||||
F: configs/fx12mm_defconfig
|
|
||||||
F: configs/fx12mm_flash_defconfig
|
|
@ -1,11 +0,0 @@
|
|||||||
#
|
|
||||||
# (C) Copyright 2008
|
|
||||||
# Ricardo Ribalda,Universidad Autonoma de Madrid, ricardo.ribalda@uam.es
|
|
||||||
# This work has been supported by: Qtechnology http://qtec.com/
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-2.0+
|
|
||||||
#
|
|
||||||
|
|
||||||
obj-y += fx12mm.o
|
|
||||||
|
|
||||||
include $(srctree)/board/xilinx/ppc405-generic/Makefile
|
|
@ -1,34 +0,0 @@
|
|||||||
/*
|
|
||||||
* (C) Copyright 2008
|
|
||||||
*
|
|
||||||
* Author: Xilinx Inc.
|
|
||||||
*
|
|
||||||
* Modified by:
|
|
||||||
* Georg Schardt <schardt@team-ctech.de>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
#include <common.h>
|
|
||||||
#include <asm/processor.h>
|
|
||||||
|
|
||||||
int checkboard(void)
|
|
||||||
{
|
|
||||||
char buf[64];
|
|
||||||
int i;
|
|
||||||
int l = getenv_f("serial#", buf, sizeof(buf));
|
|
||||||
|
|
||||||
if (l < 0) {
|
|
||||||
printf("Avnet Virtex4 FX12 with no serial #");
|
|
||||||
} else {
|
|
||||||
printf("Avnet Virtex4 FX12 Minimodul # ");
|
|
||||||
for (i = 0; i < l; ++i) {
|
|
||||||
if (buf[i] == ' ')
|
|
||||||
break;
|
|
||||||
putc(buf[i]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
putc('\n');
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,35 +0,0 @@
|
|||||||
/*
|
|
||||||
* (C) Copyright 2008
|
|
||||||
*
|
|
||||||
* Georg Schardt <schardt@team-ctech.de>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
|
||||||
*
|
|
||||||
* CAUTION: This file is based on the xparameters.h automatically
|
|
||||||
* generated by libgen. Version: Xilinx EDK 10.1.02 Build EDK_K_SP2.5
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __XPARAMETER_H__
|
|
||||||
#define __XPARAMETER_H__
|
|
||||||
|
|
||||||
/* RS232 */
|
|
||||||
#define XPAR_UARTNS550_0_CLOCK_FREQ_HZ 100000000
|
|
||||||
#define XPAR_UARTNS550_0_BASEADDR 0x83E00000
|
|
||||||
|
|
||||||
|
|
||||||
/* INT_C */
|
|
||||||
#define XPAR_XPS_INTC_0_DEVICE_ID 0
|
|
||||||
#define XPAR_XPS_INTC_0_BASEADDR 0x81800000
|
|
||||||
#define XPAR_INTC_MAX_NUM_INTR_INPUTS 2
|
|
||||||
|
|
||||||
/* CPU core clock */
|
|
||||||
#define XPAR_CORE_CLOCK_FREQ_HZ 300000000
|
|
||||||
#define XPAR_PLB_CLOCK_FREQ_HZ 100000000
|
|
||||||
|
|
||||||
/* RAM */
|
|
||||||
#define XPAR_DDR2_SDRAM_MEM_BASEADDR 0x00000000
|
|
||||||
|
|
||||||
/* FLASH */
|
|
||||||
#define XPAR_FLASH_MEM0_BASEADDR 0xFFC00000
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,10 +0,0 @@
|
|||||||
CONFIG_PPC=y
|
|
||||||
CONFIG_4xx=y
|
|
||||||
CONFIG_TARGET_FX12MM=y
|
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0x04000000,RESET_VECTOR_ADDRESS=0x04100000,INIT_TLB=board/xilinx/ppc405-generic/init.o"
|
|
||||||
CONFIG_SYS_PROMPT="FX12MM:/# "
|
|
||||||
# CONFIG_CMD_IMLS is not set
|
|
||||||
# CONFIG_CMD_SETEXPR is not set
|
|
||||||
# CONFIG_CMD_NET is not set
|
|
||||||
# CONFIG_CMD_NFS is not set
|
|
||||||
CONFIG_SYS_NS16550=y
|
|
@ -1,9 +0,0 @@
|
|||||||
CONFIG_PPC=y
|
|
||||||
CONFIG_4xx=y
|
|
||||||
CONFIG_TARGET_FX12MM=y
|
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC,INIT_TLB=board/xilinx/ppc405-generic/init.o"
|
|
||||||
# CONFIG_CMD_IMLS is not set
|
|
||||||
# CONFIG_CMD_SETEXPR is not set
|
|
||||||
# CONFIG_CMD_NET is not set
|
|
||||||
# CONFIG_CMD_NFS is not set
|
|
||||||
CONFIG_SYS_NS16550=y
|
|
@ -1,50 +0,0 @@
|
|||||||
/*
|
|
||||||
* (C) Copyright 2008
|
|
||||||
*
|
|
||||||
* Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@uam.es
|
|
||||||
* This work has been supported by: QTechnology http://qtec.com
|
|
||||||
*
|
|
||||||
* Georg Schardt <schardt@team-ctech.de>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Configuration file for the Virtex4FX12 Minimodul by Avnet/Memec,
|
|
||||||
* see http://www.em.avnet.com
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __CONFIG_FX12_H
|
|
||||||
#define __CONFIG_FX12_H
|
|
||||||
|
|
||||||
#include "../board/avnet/fx12mm/xparameters.h"
|
|
||||||
|
|
||||||
/* cmd config */
|
|
||||||
#define CONFIG_CMD_JFFS2
|
|
||||||
#define CONFIG_CMD_MTDPARTS
|
|
||||||
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
|
|
||||||
#define CONFIG_FLASH_CFI_MTD
|
|
||||||
|
|
||||||
/* sdram */
|
|
||||||
#define CONFIG_SYS_SDRAM_SIZE_MB 64
|
|
||||||
|
|
||||||
/* environment */
|
|
||||||
#define CONFIG_ENV_IS_IN_FLASH 1
|
|
||||||
#define CONFIG_ENV_SIZE 0x10000
|
|
||||||
#define CONFIG_ENV_SECT_SIZE 0x10000
|
|
||||||
#define CONFIG_SYS_ENV_OFFSET 0xA0000
|
|
||||||
#define CONFIG_ENV_ADDR (CONFIG_SYS_FLASH_BASE+CONFIG_SYS_ENV_OFFSET)
|
|
||||||
#define CONFIG_ENV_OVERWRITE 1
|
|
||||||
|
|
||||||
/*Misc*/
|
|
||||||
#define CONFIG_PREBOOT "echo U-Boot is up and running;"
|
|
||||||
|
|
||||||
/*Flash*/
|
|
||||||
#define CONFIG_SYS_FLASH_SIZE (4*1024*1024)
|
|
||||||
#define CONFIG_SYS_MAX_FLASH_SECT 71
|
|
||||||
#define MTDIDS_DEFAULT "nor0=fx12mm-flash"
|
|
||||||
#define MTDPARTS_DEFAULT "mtdparts=fx12mm-flash:-(user)"
|
|
||||||
|
|
||||||
#include "configs/xilinx-ppc405.h"
|
|
||||||
|
|
||||||
#endif /* __CONFIG_H */
|
|
Loading…
Reference in New Issue
Block a user