Commit ecf8decb authored by Vladimir Khusainov's avatar Vladimir Khusainov
Browse files

RT62660 U-boot clean-up before the first release of the eval kit.

This commit removes support for the Actel F2 board (as well as
any references to this board in the code).
parent 20d48980
......@@ -3189,11 +3189,8 @@ omap3_zoom2_config : unconfig
smdkc100_config: unconfig
@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 smdkc100 samsung s5pc1xx
actel_f2_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm_cortexm3 actel_f2 actel NULL
a2f-lnx-evb_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm_cortexm3 actel_f2 actel NULL
@$(MKCONFIG) $(@:_config=) arm arm_cortexm3 a2f-lnx-evb emcraft NULL
#########################################################################
## XScale Systems
......
......@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
COBJS := actel_f2.o
COBJS := board.o
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
......
for dir in tools examples/standalone examples/api cpu/arm_cortexm3 /home/vlad/uboot/u-boot/cpu/arm_cortexm3/ ; do \
make -C $dir _depend ; done
make[1]: Entering directory `/home/vlad/uboot/u-boot/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/tools'
make[1]: Entering directory `/home/vlad/uboot/u-boot/examples/standalone'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/examples/standalone'
make[1]: Entering directory `/home/vlad/uboot/u-boot/examples/api'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/examples/api'
make[1]: Entering directory `/home/vlad/uboot/u-boot/cpu/arm_cortexm3'
make[1]: Leaving directory `/home/vlad/uboot/u-boot/cpu/arm_cortexm3'
make[1]: Entering directory `/home/vlad/uboot/u-boot/cpu/arm_cortexm3'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/cpu/arm_cortexm3'
make[1]: Entering directory `/home/vlad/uboot/u-boot/cpu/arm_cortexm3'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/cpu/arm_cortexm3'
make -C tools all
make[1]: Entering directory `/home/vlad/uboot/u-boot/tools'
make[1]: Leaving directory `/home/vlad/uboot/u-boot/tools'
make -C examples/standalone all
make[1]: Entering directory `/home/vlad/uboot/u-boot/examples/standalone'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/examples/standalone'
make -C examples/api all
make[1]: Entering directory `/home/vlad/uboot/u-boot/examples/api'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/examples/api'
make -C cpu/arm_cortexm3 start.o
make[1]: Entering directory `/home/vlad/uboot/u-boot/cpu/arm_cortexm3'
make[1]: `start.o' is up to date.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/cpu/arm_cortexm3'
make -C lib_generic/
make[1]: Entering directory `/home/vlad/uboot/u-boot/lib_generic'
make[1]: `libgeneric.a' is up to date.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/lib_generic'
make -C lib_generic/lzma/
make[1]: Entering directory `/home/vlad/uboot/u-boot/lib_generic/lzma'
arm-none-eabi-ar crv liblzma.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/lib_generic/lzma'
make -C lib_generic/lzo/
make[1]: Entering directory `/home/vlad/uboot/u-boot/lib_generic/lzo'
arm-none-eabi-ar crv liblzo.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/lib_generic/lzo'
make -C cpu/arm_cortexm3/
make[1]: Entering directory `/home/vlad/uboot/u-boot/cpu/arm_cortexm3'
arm-none-eabi-gcc -g -Os -g2 -mthumb -mcpu=cortex-m3 -fsigned-char -O2 -fno-builtin-puts -I/usr/local/arm-toolchain/arm-none-eabi/include -D__KERNEL__ -I/home/vlad/uboot/u-boot/include -fno-builtin -ffreestanding -isystem /usr/local/arm-toolchain/bin/../lib/gcc/arm-none-eabi/4.2.3/include -pipe -DCONFIG_ARM -D__ARM__ -Wall -Wstrict-prototypes -fno-stack-protector -o my_uart.o my_uart.c -c
arm-none-eabi-ar crv libarm_cortexm3.a cpu.o cmd_cptf.o nvm.o my_uart.o my_lib.o my_printf.o my_dump.o CMSIS/core_cm3.o CMSIS/system_a2fxxxm3.o
r - cpu.o
r - cmd_cptf.o
r - nvm.o
r - my_uart.o
r - my_lib.o
r - my_printf.o
r - my_dump.o
r - CMSIS/core_cm3.o
r - CMSIS/system_a2fxxxm3.o
make[1]: Leaving directory `/home/vlad/uboot/u-boot/cpu/arm_cortexm3'
make -C lib_arm/
make[1]: Entering directory `/home/vlad/uboot/u-boot/lib_arm'
arm-none-eabi-gcc -g -Os -g2 -mthumb -mcpu=cortex-m3 -fsigned-char -O2 -fno-builtin-puts -I/usr/local/arm-toolchain/arm-none-eabi/include -D__KERNEL__ -I/home/vlad/uboot/u-boot/include -fno-builtin -ffreestanding -isystem /usr/local/arm-toolchain/bin/../lib/gcc/arm-none-eabi/4.2.3/include -pipe -DCONFIG_ARM -D__ARM__ -Wall -Wstrict-prototypes -fno-stack-protector -o board.o board.c -c
arm-none-eabi-ar crv libarm.a board.o bootm.o cache.o cache-cp15.o interrupts.o reset.o
r - board.o
r - bootm.o
r - cache.o
r - cache-cp15.o
r - interrupts.o
r - reset.o
make[1]: Leaving directory `/home/vlad/uboot/u-boot/lib_arm'
make -C fs/cramfs/
make[1]: Entering directory `/home/vlad/uboot/u-boot/fs/cramfs'
arm-none-eabi-ar crv libcramfs.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/fs/cramfs'
make -C fs/fat/
make[1]: Entering directory `/home/vlad/uboot/u-boot/fs/fat'
arm-none-eabi-ar crv libfat.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/fs/fat'
make -C fs/fdos/
make[1]: Entering directory `/home/vlad/uboot/u-boot/fs/fdos'
arm-none-eabi-ar crv libfdos.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/fs/fdos'
make -C fs/jffs2/
make[1]: Entering directory `/home/vlad/uboot/u-boot/fs/jffs2'
arm-none-eabi-ar crv libjffs2.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/fs/jffs2'
make -C fs/reiserfs/
make[1]: Entering directory `/home/vlad/uboot/u-boot/fs/reiserfs'
arm-none-eabi-ar crv libreiserfs.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/fs/reiserfs'
make -C fs/ext2/
make[1]: Entering directory `/home/vlad/uboot/u-boot/fs/ext2'
arm-none-eabi-ar crv libext2fs.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/fs/ext2'
make -C fs/yaffs2/
make[1]: Entering directory `/home/vlad/uboot/u-boot/fs/yaffs2'
arm-none-eabi-ar crv libyaffs2.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/fs/yaffs2'
make -C fs/ubifs/
make[1]: Entering directory `/home/vlad/uboot/u-boot/fs/ubifs'
arm-none-eabi-ar crv libubifs.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/fs/ubifs'
make -C net/
make[1]: Entering directory `/home/vlad/uboot/u-boot/net'
arm-none-eabi-ar crv libnet.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/net'
make -C disk/
make[1]: Entering directory `/home/vlad/uboot/u-boot/disk'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/disk'
make -C drivers/bios_emulator/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/bios_emulator'
arm-none-eabi-ar crv libatibiosemu.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/bios_emulator'
make -C drivers/block/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/block'
arm-none-eabi-ar crv libblock.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/block'
make -C drivers/dma/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/dma'
arm-none-eabi-ar crv libdma.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/dma'
make -C drivers/fpga/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/fpga'
arm-none-eabi-ar crv libfpga.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/fpga'
make -C drivers/gpio/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/gpio'
arm-none-eabi-ar crv libgpio.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/gpio'
make -C drivers/hwmon/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/hwmon'
arm-none-eabi-ar crv libhwmon.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/hwmon'
make -C drivers/i2c/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/i2c'
arm-none-eabi-ar crv libi2c.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/i2c'
make -C drivers/input/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/input'
arm-none-eabi-ar crv libinput.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/input'
make -C drivers/misc/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/misc'
arm-none-eabi-ar crv libmisc.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/misc'
make -C drivers/mmc/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/mmc'
arm-none-eabi-ar crv libmmc.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/mmc'
make -C drivers/mtd/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/mtd'
arm-none-eabi-ar crv libmtd.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/mtd'
make -C drivers/mtd/nand/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/mtd/nand'
arm-none-eabi-ar crv libnand.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/mtd/nand'
make -C drivers/mtd/onenand/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/mtd/onenand'
arm-none-eabi-ar crv libonenand.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/mtd/onenand'
make -C drivers/mtd/ubi/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/mtd/ubi'
arm-none-eabi-ar crv libubi.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/mtd/ubi'
make -C drivers/mtd/spi/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/mtd/spi'
arm-none-eabi-ar crv libspi_flash.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/mtd/spi'
make -C drivers/net/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/net'
arm-none-eabi-ar crv libnet.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/net'
make -C drivers/net/phy/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/net/phy'
arm-none-eabi-ar crv libphy.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/net/phy'
make -C drivers/pci/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/pci'
arm-none-eabi-ar crv libpci.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/pci'
make -C drivers/pcmcia/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/pcmcia'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/pcmcia'
make -C drivers/power/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/power'
arm-none-eabi-ar crv libpower.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/power'
make -C drivers/spi/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/spi'
arm-none-eabi-ar crv libspi.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/spi'
make -C drivers/rtc/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/rtc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/rtc'
make -C drivers/serial/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/serial'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/serial'
make -C drivers/twserial/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/twserial'
arm-none-eabi-ar crv libtws.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/twserial'
make -C drivers/usb/gadget/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/usb/gadget'
arm-none-eabi-ar crv libusb_gadget.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/usb/gadget'
make -C drivers/usb/host/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/usb/host'
arm-none-eabi-ar crv libusb_host.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/usb/host'
make -C drivers/usb/musb/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/usb/musb'
arm-none-eabi-ar crv libusb_musb.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/usb/musb'
make -C drivers/usb/phy/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/usb/phy'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/usb/phy'
make -C drivers/video/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/video'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/video'
make -C drivers/watchdog/
make[1]: Entering directory `/home/vlad/uboot/u-boot/drivers/watchdog'
arm-none-eabi-ar crv libwatchdog.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/drivers/watchdog'
make -C common/
make[1]: Entering directory `/home/vlad/uboot/u-boot/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/common'
make -C libfdt/
make[1]: Entering directory `/home/vlad/uboot/u-boot/libfdt'
arm-none-eabi-ar crv libfdt.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/libfdt'
make -C api/
make[1]: Entering directory `/home/vlad/uboot/u-boot/api'
arm-none-eabi-ar crv libapi.a
make[1]: Leaving directory `/home/vlad/uboot/u-boot/api'
make -C post/
make[1]: Entering directory `/home/vlad/uboot/u-boot/post'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/post'
make -C board/actel/actel_f2/
make[1]: Entering directory `/home/vlad/uboot/u-boot/board/actel/actel_f2'
make[1]: `libactel_f2.a' is up to date.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/board/actel/actel_f2'
make -C /home/vlad/uboot/u-boot/cpu/arm_cortexm3/ u-boot.lds
make[1]: Entering directory `/home/vlad/uboot/u-boot/cpu/arm_cortexm3'
make[1]: Nothing to be done for `u-boot.lds'.
make[1]: Leaving directory `/home/vlad/uboot/u-boot/cpu/arm_cortexm3'
UNDEF_SYM=`arm-none-eabi-objdump -x board/actel/actel_f2/libactel_f2.a lib_generic/libgeneric.a lib_generic/lzma/liblzma.a lib_generic/lzo/liblzo.a cpu/arm_cortexm3/libarm_cortexm3.a lib_arm/libarm.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a fs/ubifs/libubifs.a net/libnet.a disk/libdisk.a drivers/bios_emulator/libatibiosemu.a drivers/block/libblock.a drivers/dma/libdma.a drivers/fpga/libfpga.a drivers/gpio/libgpio.a drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a drivers/input/libinput.a drivers/misc/libmisc.a drivers/mmc/libmmc.a drivers/mtd/libmtd.a drivers/mtd/nand/libnand.a drivers/mtd/onenand/libonenand.a drivers/mtd/ubi/libubi.a drivers/mtd/spi/libspi_flash.a drivers/net/libnet.a drivers/net/phy/libphy.a drivers/pci/libpci.a drivers/pcmcia/libpcmcia.a drivers/power/libpower.a drivers/spi/libspi.a drivers/rtc/librtc.a drivers/serial/libserial.a drivers/twserial/libtws.a drivers/usb/gadget/libusb_gadget.a drivers/usb/host/libusb_host.a drivers/usb/musb/libusb_musb.a drivers/usb/phy/libusb_phy.a drivers/video/libvideo.a drivers/watchdog/libwatchdog.a common/libcommon.a libfdt/libfdt.a api/libapi.a post/libpost.a | sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`; cd /home/vlad/uboot/u-boot && arm-none-eabi-ld -Bstatic -T u-boot.lds $UNDEF_SYM cpu/arm_cortexm3/start.o --start-group lib_generic/libgeneric.a lib_generic/lzma/liblzma.a lib_generic/lzo/liblzo.a cpu/arm_cortexm3/libarm_cortexm3.a lib_arm/libarm.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a fs/ubifs/libubifs.a net/libnet.a disk/libdisk.a drivers/bios_emulator/libatibiosemu.a drivers/block/libblock.a drivers/dma/libdma.a drivers/fpga/libfpga.a drivers/gpio/libgpio.a drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a drivers/input/libinput.a drivers/misc/libmisc.a drivers/mmc/libmmc.a drivers/mtd/libmtd.a drivers/mtd/nand/libnand.a drivers/mtd/onenand/libonenand.a drivers/mtd/ubi/libubi.a drivers/mtd/spi/libspi_flash.a drivers/net/libnet.a drivers/net/phy/libphy.a drivers/pci/libpci.a drivers/pcmcia/libpcmcia.a drivers/power/libpower.a drivers/spi/libspi.a drivers/rtc/librtc.a drivers/serial/libserial.a drivers/twserial/libtws.a drivers/usb/gadget/libusb_gadget.a drivers/usb/host/libusb_host.a drivers/usb/musb/libusb_musb.a drivers/usb/phy/libusb_phy.a drivers/video/libvideo.a drivers/watchdog/libwatchdog.a common/libcommon.a libfdt/libfdt.a api/libapi.a post/libpost.a board/actel/actel_f2/libactel_f2.a --end-group -L /usr/local/arm-toolchain/bin/../lib/gcc/arm-none-eabi/4.2.3/thumb2 -lgcc -Map u-boot.map -o u-boot
arm-none-eabi-objcopy -O srec u-boot u-boot.srec
arm-none-eabi-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin
......@@ -26,10 +26,13 @@
#define __CONFIG_H
/*
* High Level Configuration Options
* This is an ARM Cortex-M3 CPU core
*/
#define CONFIG_ARMCORTEXM3 1 /* This is an ARM Cortex-M3 CPU core */
#define CONFIG_ACTEL_F2 1 /* working with the Actel F2 board */
#define CONFIG_ARMCORTEXM3
/*
* This is the Actel SmartFusion (aka A2F) device
*/
#define CONFIG_A2F
/* System frequency (FCLK) coming out of reset */
#define CONFIG_SYS_RESET_SYSCLCK_FREQ 80000000uL
......
/*
* (C) Copyright 2006-2008
*
* Configuration settings for the Actel F2 board.
*
* 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
*/
#define CONFIG_ARMCORTEXM3 1 /* This is an ARM Cortex-M3 CPU core */
#define CONFIG_ACTEL_F2 1 /* working with the Actel F2 board */
/* System frequency (FCLK) coming out of reset */
#define CONFIG_SYS_RESET_SYSCLCK_FREQ 25000000uL
/*
* Enable/disable debug messages
*/
#define DEBUG
#undef DEBUG
/*
* Display CPU and Board information
*/
#define CONFIG_DISPLAY_CPUINFO 1
#define CONFIG_DISPLAY_BOARDINFO 1
/*
* Enbale all those monitor commands that are really needed
*/
#include <config_cmd_default.h>
#undef CONFIG_CMD_BOOTD
#undef CONFIG_CMD_CONSOLE
#undef CONFIG_CMD_ECHO
#undef CONFIG_CMD_EDITENV
#undef CONFIG_CMD_FPGA
#undef CONFIG_CMD_IMI
#undef CONFIG_CMD_ITEST
#undef CONFIG_CMD_IMLS
#undef CONFIG_CMD_LOADS
#undef CONFIG_CMD_MISC
#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_SOURCE
#undef CONFIG_CMD_XIMG
/*
* TO-DO: review this list
*/
/*
* Configuration of the external RAM.
*/
#define CONFIG_NR_DRAM_BANKS 1
#define EXT_RAM_BASE 0x70000000
#define EXT_RAM_SIZE (2 * 1024 * 1024)
#define CONFIG_SYS_FLASH_BANK1_BASE 0x74000000
#define CONFIG_SYS_FLASH_BANK2_BASE 0x74800000
/* External Memory Controller settings
*
*/
#define CONFIG_SYS_EMC0CS0CR 0x0020088D
#define CONFIG_SYS_EMC0CS1CR 0x000000AF
#define CONFIG_SYS_EMCMUXCR 0x00000001
/*
* MALLOC_LEN can't be more than the specified size!
* Refer to u-boot.lds for further details.
*/
#define CONFIG_SYS_MALLOC_LEN (1024*8)
/*
* We want to call the CPU specific initialization
*/
#define CONFIG_ARCH_CPU_INIT
/*
* No interrupts
*/
#undef CONFIG_USE_IRQ
/*
* TO-DO: what is this? ... something to do with clocks...
*/
#undef CONFIG_FSL_ESDHC
/*
* To save memory
*/
#undef CONFIG_SYS_LONGHELP
/*
* Use hush command parser
*/
#define CONFIG_SYS_HUSH_PARSER
#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
/*
* Monitor prompt
*/
#define CONFIG_SYS_PROMPT "A2F> "
/*
* Console I/O buffer size
*/
#define CONFIG_SYS_CBSIZE 256
/*
* Print buffer size
*/
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
sizeof(CONFIG_SYS_PROMPT) + 16)
/*
* Max number of command args
*/
#define CONFIG_SYS_MAXARGS 16
/*
*
*/
#define CONFIG_SYS_LOAD_ADDR 0
#define CONFIG_SYS_MEMTEST_START 0
#define CONFIG_SYS_MEMTEST_END 0
#define CONFIG_SYS_HZ 1000
#define CONFIG_SYSTICK_FREQ 3125000
/*
* Serial console configuration
*/
#define CONFIG_BAUDRATE 115200
#define CONFIG_CONS_INDEX 1
#define CONFIG_SYS_NS16550
#undef CONFIG_NS16550_MIN_FUNCTIONS
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_COM1 0x40000000
#define CONFIG_SYS_NS16550_COM2 0x40010000
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
#define CONFIG_SYS_NS16550_CLK (100)
/* valid baudrates */
#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
/*
* Enable/disable h/w watchdog
*/
#undef CONFIG_HW_WATCHDOG
/*
* Short-cut to a command sequence to perform self-upgrade
*/
#if 0
#define CONFIG_EXTRA_ENV_SETTINGS \
"s=cpff 0; cptf 20000; " \
"cpff 8000; cptf 28000; " \
"cptf 0 20000 10000 1\0"
#endif
/*-----------------------------------------------------------------------
* FLASH organization
*/
/* use CFI flash driver */
#define CONFIG_SYS_FLASH_CFI 1 /* Flash is CFI conformant */
#define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BANK1_BASE, CONFIG_SYS_FLASH_BANK2_BASE }
#define CONFIG_SYS_MAX_FLASH_BANKS 2 /* max number of memory banks */
#define CONFIG_SYS_MAX_FLASH_SECT 64 /* max number of sectors on one chip */
#define CONFIG_SYS_MONITOR_BASE 0x0
#define CONFIG_MONITOR_IS_IN_RAM 1
/* ENV settings */
#define CONFIG_ENV_IS_IN_FLASH 1
#define CONFIG_ENV_ADDR CONFIG_SYS_FLASH_BANK1_BASE
#define CONFIG_ENV_SIZE 0x1000
#define CONFIG_INFERNO 1
#define CONFIG_BOOTDELAY 10
#endif /* __CONFIG_H */
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment