Commit d1a067a34aadba527bb81771c4159f4eb957fa59

Authored by Wolfgang Denk
1 parent 3d57573986
Exists in master and in 55 other branches 8qm-imx_v2020.04_5.4.70_2.3.0, emb_lf_v2022.04, emb_lf_v2023.04, imx_v2015.04_4.1.15_1.0.0_ga, pitx_8mp_lf_v2020.04, smarc-8m-android-10.0.0_2.6.0, smarc-8m-android-11.0.0_2.0.0, smarc-8mp-android-11.0.0_2.0.0, smarc-emmc-imx_v2014.04_3.10.53_1.1.0_ga, smarc-emmc-imx_v2014.04_3.14.28_1.0.0_ga, smarc-imx-l5.0.0_1.0.0-ga, smarc-imx6_v2018.03_4.14.98_2.0.0_ga, smarc-imx7_v2017.03_4.9.11_1.0.0_ga, smarc-imx7_v2018.03_4.14.98_2.0.0_ga, smarc-imx_v2014.04_3.14.28_1.0.0_ga, smarc-imx_v2015.04_4.1.15_1.0.0_ga, smarc-imx_v2017.03_4.9.11_1.0.0_ga, smarc-imx_v2017.03_4.9.88_2.0.0_ga, smarc-imx_v2017.03_o8.1.0_1.3.0_8m, smarc-imx_v2018.03_4.14.78_1.0.0_ga, smarc-m6.0.1_2.1.0-ga, smarc-n7.1.2_2.0.0-ga, smarc-rel_imx_4.1.15_2.0.0_ga, smarc_8m-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8m-imx_v2019.04_4.19.35_1.1.0, smarc_8m_00d0-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2019.04_4.19.35_1.1.0, smarc_8mm-imx_v2020.04_5.4.24_2.1.0, smarc_8mp_lf_v2020.04, smarc_8mq-imx_v2020.04_5.4.24_2.1.0, smarc_8mq_lf_v2020.04, ti-u-boot-2015.07, u-boot-2013.01.y, v2013.10, v2013.10-smarct33, v2013.10-smartmen, v2014.01, v2014.04, v2014.04-smarct33, v2014.04-smarct33-emmc, v2014.04-smartmen, v2014.07, v2014.07-smarct33, v2014.07-smartmen, v2015.07-smarct33, v2015.07-smarct33-emmc, v2015.07-smarct4x, v2016.05-dlt, v2016.05-smarct3x, v2016.05-smarct3x-emmc, v2016.05-smarct4x, v2017.01-smarct3x, v2017.01-smarct3x-emmc, v2017.01-smarct4x

ARM: remove broken "lpc2292sodimm" board.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>

Showing 9 changed files with 1 additions and 638 deletions Side-by-side Diff

... ... @@ -301,7 +301,6 @@
301 301 #########################################################################
302 302  
303 303 LIST_ARM7=" \
304   - lpc2292sodimm \
305 304 modnet50 \
306 305 "
307 306  
board/lpc2292sodimm/Makefile
1   -#
2   -# (C) Copyright 2007
3   -# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4   -#
5   -# See file CREDITS for list of people who contributed to this
6   -# project.
7   -#
8   -# This program is free software; you can redistribute it and/or
9   -# modify it under the terms of the GNU General Public License as
10   -# published by the Free Software Foundation; either version 2 of
11   -# the License, or (at your option) any later version.
12   -#
13   -# This program is distributed in the hope that it will be useful,
14   -# but WITHOUT ANY WARRANTY; without even the implied warranty of
15   -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16   -# GNU General Public License for more details.
17   -#
18   -# You should have received a copy of the GNU General Public License
19   -# along with this program; if not, write to the Free Software
20   -# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21   -# MA 02111-1307 USA
22   -#
23   -
24   -include $(TOPDIR)/config.mk
25   -
26   -LIB = $(obj)lib$(BOARD).o
27   -
28   -COBJS := flash.o lpc2292sodimm.o
29   -SOBJTS := lowlevel_init.o
30   -
31   -SRCS := $(SOBJTS:.o=.S) $(COBJS:.o=.c)
32   -OBJS := $(addprefix $(obj),$(COBJS))
33   -SOBJS := $(addprefix $(obj),$(SOBJTS))
34   -
35   -$(LIB): $(obj).depend $(OBJS) $(SOBJS)
36   - $(call cmd_link_o_target, $(OBJS) $(SOBJS))
37   -
38   -clean:
39   - rm -f $(SOBJS) $(OBJS)
40   -
41   -distclean: clean
42   - rm -f $(LIB) core *.bak $(obj).depend
43   -
44   -#########################################################################
45   -
46   -# defines $(obj).depend target
47   -include $(SRCTREE)/rules.mk
48   -
49   -sinclude $(obj).depend
50   -
51   -#########################################################################
board/lpc2292sodimm/config.mk
1   -#
2   -# (C) Copyright 2000
3   -# Sysgo Real-Time Solutions, GmbH <www.elinos.com>
4   -# Marius Groeger <mgroeger@sysgo.de>
5   -#
6   -# (C) Copyright 2000
7   -# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
8   -#
9   -# See file CREDITS for list of people who contributed to this
10   -# project.
11   -#
12   -# This program is free software; you can redistribute it and/or
13   -# modify it under the terms of the GNU General Public License as
14   -# published by the Free Software Foundation; either version 2 of
15   -# the License, or (at your option) any later version.
16   -#
17   -# This program is distributed in the hope that it will be useful,
18   -# but WITHOUT ANY WARRANTY; without even the implied warranty of
19   -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20   -# GNU General Public License for more details.
21   -#
22   -# You should have received a copy of the GNU General Public License
23   -# along with this program; if not, write to the Free Software
24   -# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
25   -# MA 02111-1307 USA
26   -#
27   -
28   -#address where u-boot will be relocated
29   -#CONFIG_SYS_TEXT_BASE = 0x0
30   -CONFIG_SYS_TEXT_BASE = 0x81500000
board/lpc2292sodimm/flash.c
1   -/*
2   - * (C) Copyright 2006 Embedded Artists AB <www.embeddedartists.com>
3   - *
4   - * Modified to use the routines in arch/arm/cpu/arm720t/lpc2292/flash.c by
5   - * Gary Jennejohn <garyj@denx,de>
6   - *
7   - * This program is free software; you can redistribute it and/or
8   - * modify it under the terms of the GNU General Public License as
9   - * published by the Free Software Foundation; either version 2 of
10   - * the License, or (at your option) any later version.
11   - *
12   - * This program is distributed in the hope that it will be useful,
13   - * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15   - * GNU General Public License for more details.
16   - *
17   - * You should have received a copy of the GNU General Public License
18   - * along with this program; if not, write to the Free Software
19   - * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20   - * MA 02111-1307 USA
21   - */
22   -
23   -#include <common.h>
24   -#include <asm/arch/hardware.h>
25   -
26   -#define SST_BASEADDR 0x80000000
27   -#define SST_ADDR1 ((volatile ushort*)(SST_BASEADDR + (0x5555 << 1)))
28   -#define SST_ADDR2 ((volatile ushort*)(SST_BASEADDR + (0x2AAA << 1)))
29   -
30   -
31   -flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS];
32   -
33   -extern int lpc2292_copy_buffer_to_flash(flash_info_t *, ulong);
34   -extern int lpc2292_flash_erase(flash_info_t *, int, int);
35   -extern int lpc2292_write_buff (flash_info_t *, uchar *, ulong, ulong);
36   -
37   -/*-----------------------------------------------------------------------
38   - *
39   - */
40   -void write_word_sst(ulong addr, ushort data)
41   -{
42   - ushort tmp;
43   -
44   - *SST_ADDR1 = 0x00AA;
45   - *SST_ADDR2 = 0x0055;
46   - *SST_ADDR1 = 0x00A0;
47   - *((volatile ushort*)addr) = data;
48   - /* do data polling */
49   - do {
50   - tmp = *((volatile ushort*)addr);
51   - } while (tmp != data);
52   -}
53   -
54   -/*-----------------------------------------------------------------------
55   - */
56   -
57   -ulong flash_init (void)
58   -{
59   - int j, k;
60   - ulong size = 0;
61   - ulong flashbase = 0;
62   -
63   - flash_info[0].flash_id = (PHILIPS_LPC2292 & FLASH_VENDMASK);
64   - flash_info[0].size = 0x003E000; /* 256 - 8 KB */
65   - flash_info[0].sector_count = 17;
66   - memset (flash_info[0].protect, 0, 17);
67   - flashbase = 0x00000000;
68   - for (j = 0, k = 0; j < 8; j++, k++) {
69   - flash_info[0].start[k] = flashbase;
70   - flashbase += 0x00002000;
71   - }
72   - for (j = 0; j < 2; j++, k++) {
73   - flash_info[0].start[k] = flashbase;
74   - flashbase += 0x00010000;
75   - }
76   - for (j = 0; j < 7; j++, k++) {
77   - flash_info[0].start[k] = flashbase;
78   - flashbase += 0x00002000;
79   - }
80   - size += flash_info[0].size;
81   -
82   - flash_info[1].flash_id = (SST_MANUFACT & FLASH_VENDMASK);
83   - flash_info[1].size = 0x00200000; /* 2 MB */
84   - flash_info[1].sector_count = 512;
85   - memset (flash_info[1].protect, 0, 512);
86   - flashbase = SST_BASEADDR;
87   - for (j=0; j<512; j++) {
88   - flash_info[1].start[j] = flashbase;
89   - flashbase += 0x1000; /* 4 KB sectors */
90   - }
91   - size += flash_info[1].size;
92   -
93   - /* Protect monitor and environment sectors */
94   - flash_protect (FLAG_PROTECT_SET,
95   - 0x0,
96   - 0x0 + monitor_flash_len - 1,
97   - &flash_info[0]);
98   -
99   - flash_protect (FLAG_PROTECT_SET,
100   - CONFIG_ENV_ADDR,
101   - CONFIG_ENV_ADDR + CONFIG_ENV_SIZE - 1,
102   - &flash_info[0]);
103   -
104   - return size;
105   -}
106   -
107   -/*-----------------------------------------------------------------------
108   - */
109   -void flash_print_info (flash_info_t * info)
110   -{
111   - int i;
112   - int erased = 0;
113   - unsigned long j;
114   - unsigned long count;
115   - unsigned char *p;
116   -
117   - switch (info->flash_id & FLASH_VENDMASK) {
118   - case (SST_MANUFACT & FLASH_VENDMASK):
119   - printf("SST: ");
120   - break;
121   - case (PHILIPS_LPC2292 & FLASH_VENDMASK):
122   - printf("Philips: ");
123   - break;
124   - default:
125   - printf ("Unknown Vendor ");
126   - break;
127   - }
128   -
129   - printf (" Size: %ld KB in %d Sectors\n",
130   - info->size >> 10, info->sector_count);
131   -
132   - printf (" Sector Start Addresses:");
133   - for (i = 0; i < info->sector_count; i++) {
134   - if ((i % 5) == 0) {
135   - printf ("\n ");
136   - }
137   - if (i < (info->sector_count - 1)) {
138   - count = info->start[i+1] - info->start[i];
139   - }
140   - else {
141   - count = info->start[0] + info->size - info->start[i];
142   - }
143   - p = (unsigned char*)(info->start[i]);
144   - erased = 1;
145   - for (j = 0; j < count; j++) {
146   - if (*p != 0xFF) {
147   - erased = 0;
148   - break;
149   - }
150   - p++;
151   - }
152   - printf (" %08lX%s%s", info->start[i], info->protect[i] ? " RO" : " ",
153   - erased ? " E" : " ");
154   - }
155   - printf ("\n");
156   -}
157   -
158   -int flash_erase_sst (flash_info_t * info, int s_first, int s_last)
159   -{
160   - int i;
161   -
162   - for (i = s_first; i <= s_last; i++) {
163   - *SST_ADDR1 = 0x00AA;
164   - *SST_ADDR2 = 0x0055;
165   - *SST_ADDR1 = 0x0080;
166   - *SST_ADDR1 = 0x00AA;
167   - *SST_ADDR2 = 0x0055;
168   - *((volatile ushort*)(info->start[i])) = 0x0030;
169   - /* wait for erase to finish */
170   - udelay(25000);
171   - }
172   -
173   - return ERR_OK;
174   -}
175   -
176   -int flash_erase (flash_info_t * info, int s_first, int s_last)
177   -{
178   - switch (info->flash_id & FLASH_VENDMASK) {
179   - case (SST_MANUFACT & FLASH_VENDMASK):
180   - return flash_erase_sst(info, s_first, s_last);
181   - case (PHILIPS_LPC2292 & FLASH_VENDMASK):
182   - return lpc2292_flash_erase(info, s_first, s_last);
183   - default:
184   - return ERR_PROTECTED;
185   - }
186   - return ERR_PROTECTED;
187   -}
188   -
189   -/*-----------------------------------------------------------------------
190   - * Copy memory to flash.
191   - *
192   - * cnt is in bytes
193   - */
194   -
195   -int write_buff_sst (flash_info_t * info, uchar * src, ulong addr, ulong cnt)
196   -{
197   - ushort tmp;
198   - ulong i;
199   - uchar* src_org;
200   - uchar* dst_org;
201   - ulong cnt_org = cnt;
202   - int ret = ERR_OK;
203   -
204   - src_org = src;
205   - dst_org = (uchar*)addr;
206   -
207   - if (addr & 1) { /* if odd address */
208   - tmp = *((uchar*)(addr - 1)); /* little endian */
209   - tmp |= (*src << 8);
210   - write_word_sst(addr - 1, tmp);
211   - addr += 1;
212   - cnt -= 1;
213   - src++;
214   - }
215   - while (cnt > 1) {
216   - tmp = ((*(src+1)) << 8) + (*src); /* little endian */
217   - write_word_sst(addr, tmp);
218   - addr += 2;
219   - src += 2;
220   - cnt -= 2;
221   - }
222   - if (cnt > 0) {
223   - tmp = (*((uchar*)(addr + 1))) << 8;
224   - tmp |= *src;
225   - write_word_sst(addr, tmp);
226   - }
227   -
228   - for (i = 0; i < cnt_org; i++) {
229   - if (*dst_org != *src_org) {
230   - printf("Write failed. Byte %lX differs\n", i);
231   - ret = ERR_PROG_ERROR;
232   - break;
233   - }
234   - dst_org++;
235   - src_org++;
236   - }
237   -
238   - return ret;
239   -}
240   -
241   -int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt)
242   -{
243   - switch (info->flash_id & FLASH_VENDMASK) {
244   - case (SST_MANUFACT & FLASH_VENDMASK):
245   - return write_buff_sst(info, src, addr, cnt);
246   - case (PHILIPS_LPC2292 & FLASH_VENDMASK):
247   - return lpc2292_write_buff(info, src, addr, cnt);
248   - default:
249   - return ERR_PROG_ERROR;
250   - }
251   - return ERR_PROG_ERROR;
252   -}
board/lpc2292sodimm/lowlevel_init.S
1   -/*
2   - * (C) Copyright 2006 Embedded Artists AB <www.embeddedartists.com>
3   - *
4   - * This program is free software; you can redistribute it and/or
5   - * modify it under the terms of the GNU General Public License as
6   - * published by the Free Software Foundation; either version 2 of
7   - * the License, or (at your option) any later version.
8   - *
9   - * This program is distributed in the hope that it will be useful,
10   - * but WITHOUT ANY WARRANTY; without even the implied warranty of
11   - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12   - * GNU General Public License for more details.
13   - *
14   - * You should have received a copy of the GNU General Public License
15   - * along with this program; if not, write to the Free Software
16   - * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
17   - * MA 02111-1307 USA
18   - */
19   -
20   -#include <config.h>
21   -#include <version.h>
22   -#include <asm/arch/hardware.h>
23   -
24   -/* some parameters for the board */
25   -/* setting up the memory */
26   -#define SRAM_START 0x40000000
27   -#define SRAM_SIZE 0x00004000
28   -#define BCFG0_VALUE 0x1000ffef
29   -#define BCFG1_VALUE 0x10001C61
30   -
31   -_TEXT_BASE:
32   - .word CONFIG_SYS_TEXT_BASE
33   -MEMMAP_ADR:
34   - .word MEMMAP
35   -BCFG0_ADR:
36   - .word BCFG0
37   -_BCFG0_VALUE:
38   - .word BCFG0_VALUE
39   -BCFG1_ADR:
40   - .word BCFG1
41   -_BCFG1_VALUE:
42   - .word BCFG1_VALUE
43   -PINSEL2_ADR:
44   - .word PINSEL2
45   -PINSEL2_MASK:
46   - .word 0x00000000
47   -PINSEL2_VALUE:
48   - .word 0x0F800914
49   -
50   -.extern _start
51   -
52   -.globl lowlevel_init
53   -lowlevel_init:
54   - /* set up memory control register for bank 0 */
55   - ldr r0, _BCFG0_VALUE
56   - ldr r1, BCFG0_ADR
57   - str r0, [r1]
58   -
59   - /* set up memory control register for bank 1 */
60   - ldr r0, _BCFG1_VALUE
61   - ldr r1, BCFG1_ADR
62   - str r0, [r1]
63   -
64   - /* set up PINSEL2 for bus-pins */
65   - ldr r0, PINSEL2_ADR
66   - ldr r1, [r0]
67   - ldr r2, PINSEL2_MASK
68   - ldr r3, PINSEL2_VALUE
69   - and r1, r1, r2
70   - orr r1, r1, r3
71   - str r1, [r0]
72   -
73   - /* move vectors to beginning of SRAM */
74   - mov r2, #SRAM_START
75   - mov r0, #0 /*_start*/
76   - ldmneia r0!, {r3-r10}
77   - stmneia r2!, {r3-r10}
78   - ldmneia r0, {r3-r9}
79   - stmneia r2, {r3-r9}
80   -
81   - /* Set-up MEMMAP register, so vectors are taken from SRAM */
82   - ldr r0, MEMMAP_ADR
83   - mov r1, #0x02 /* vectors re-mapped to static RAM */
84   - str r1, [r0]
85   -
86   - /* everything is fine now */
87   - mov pc, lr
board/lpc2292sodimm/lpc2292sodimm.c
1   -/*
2   - * (C) Copyright 2002
3   - * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
4   - * Marius Groeger <mgroeger@sysgo.de>
5   - *
6   - * (C) Copyright 2005 Rowel Atienza <rowel@diwalabs.com>
7   - * Armadillo board HT1070
8   - *
9   - * See file CREDITS for list of people who contributed to this
10   - * project.
11   - *
12   - * This program is free software; you can redistribute it and/or
13   - * modify it under the terms of the GNU General Public License as
14   - * published by the Free Software Foundation; either version 2 of
15   - * the License, or (at your option) any later version.
16   - *
17   - * This program is distributed in the hope that it will be useful,
18   - * but WITHOUT ANY WARRANTY; without even the implied warranty of
19   - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20   - * GNU General Public License for more details.
21   - *
22   - * You should have received a copy of the GNU General Public License
23   - * along with this program; if not, write to the Free Software
24   - * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
25   - * MA 02111-1307 USA
26   - */
27   -
28   -#include <common.h>
29   -#include <clps7111.h>
30   -
31   -DECLARE_GLOBAL_DATA_PTR;
32   -
33   -/*
34   - * Miscelaneous platform dependent initialisations
35   - */
36   -
37   -int board_init (void)
38   -{
39   - /* Activate LED flasher */
40   - IO_LEDFLSH = 0x40;
41   -
42   - /* arch number MACH_TYPE_ARMADILLO - not official*/
43   - gd->bd->bi_arch_number = 83;
44   -
45   - /* location of boot parameters */
46   - gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
47   -
48   - return 0;
49   -}
50   -
51   -int dram_init (void)
52   -{
53   - gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
54   - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
55   -
56   - return (0);
57   -}
... ... @@ -44,7 +44,6 @@
44 44 tnetv107x_evm arm arm1176 tnetv107xevm ti tnetv107x
45 45 modnet50 arm arm720t
46 46 integratorap_cm720t arm arm720t integrator armltd - integratorap
47   -lpc2292sodimm arm arm720t - - lpc2292
48 47 integratorap_cm920t arm arm920t integrator armltd - integratorap
49 48 integratorcp_cm920t arm arm920t integrator armltd - integratorcp
50 49 a320evb arm arm920t - faraday a320
doc/README.scrapyard
... ... @@ -11,6 +11,7 @@
11 11  
12 12 Board Arch CPU removed Commit last known maintainer/contact
13 13 =============================================================================
  14 +lpc2292sodimm arm arm720t - 2011-09-05
14 15 lart arm sa1100 - 2011-09-05 Alex Zรผpke <azu@sysgo.de>
15 16 impa7 arm arm720t - 2011-09-05 Marius Grรถger <mag@sysgo.de>
16 17 gcplus arm sa1100 - 2011-09-05 George G. Davis <gdavis@mvista.com>
include/configs/lpc2292sodimm.h
1   -/*
2   - * (C) Copyright 2007
3   - * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4   - *
5   - * Configuation settings for the LPC2292SODIMM board from Embedded Artists.
6   - *
7   - * See file CREDITS for list of people who contributed to this
8   - * project.
9   - *
10   - * This program is free software; you can redistribute it and/or
11   - * modify it under the terms of the GNU General Public License as
12   - * published by the Free Software Foundation; either version 2 of
13   - * the License, or (at your option) any later version.
14   - *
15   - * This program is distributed in the hope that it will be useful,
16   - * but WITHOUT ANY WARRANTY; without even the implied warranty of
17   - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18   - * GNU General Public License for more details.
19   - *
20   - * You should have received a copy of the GNU General Public License
21   - * along with this program; if not, write to the Free Software
22   - * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23   - * MA 02111-1307 USA
24   - */
25   -
26   -#ifndef __CONFIG_H
27   -#define __CONFIG_H
28   -
29   -/*
30   - * If we are developing, we might want to start u-boot from ram
31   - * so we MUST NOT initialize critical regs like mem-timing ...
32   - */
33   -#undef CONFIG_SKIP_LOWLEVEL_INIT
34   -
35   -/*
36   - * High Level Configuration Options
37   - * (easy to change)
38   - */
39   -#define CONFIG_ARM7 1 /* This is a ARM7 CPU */
40   -#define CONFIG_ARM_THUMB 1 /* this is an ARM720TDMI */
41   -#define CONFIG_LPC2292
42   -#undef CONFIG_ARM7_REVD /* disable ARM720 REV.D Workarounds */
43   -
44   -#undef CONFIG_USE_IRQ /* don't need them anymore */
45   -
46   -/*
47   - * Size of malloc() pool
48   - */
49   -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128*1024)
50   -
51   -/*
52   - * Hardware drivers
53   - */
54   -
55   -/*
56   - * select serial console configuration
57   - */
58   -#define CONFIG_LPC2292_SERIAL
59   -#define CONFIG_SERIAL1 1 /* we use Serial line 1 */
60   -
61   -/* allow to overwrite serial and ethaddr */
62   -#define CONFIG_ENV_OVERWRITE
63   -
64   -#define CONFIG_BAUDRATE 115200
65   -
66   -/*
67   - * BOOTP options
68   - */
69   -#define CONFIG_BOOTP_SUBNETMASK
70   -#define CONFIG_BOOTP_GATEWAY
71   -#define CONFIG_BOOTP_HOSTNAME
72   -#define CONFIG_BOOTP_BOOTPATH
73   -#define CONFIG_BOOTP_BOOTFILESIZE
74   -
75   -
76   -/*
77   - * Command line configuration.
78   - */
79   -#include <config_cmd_default.h>
80   -
81   -#define CONFIG_CMD_DHCP
82   -#define CONFIG_CMD_FAT
83   -#define CONFIG_CMD_MMC
84   -#define CONFIG_CMD_NET
85   -#define CONFIG_CMD_PING
86   -
87   -
88   -#define CONFIG_MAC_PARTITION
89   -#define CONFIG_DOS_PARTITION
90   -
91   -#define CONFIG_BOOTDELAY 5
92   -
93   -/*
94   - * Miscellaneous configurable options
95   - */
96   -#define CONFIG_SYS_LONGHELP /* undef to save memory */
97   -#define CONFIG_SYS_PROMPT "LPC2292SODIMM # " /* Monitor Command Prompt */
98   -#define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */
99   -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16) /* Print Buffer Size */
100   -#define CONFIG_SYS_MAXARGS 16 /* max number of command args */
101   -#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */
102   -
103   -#define CONFIG_SYS_MEMTEST_START 0x40000000 /* memtest works on */
104   -#define CONFIG_SYS_MEMTEST_END 0x40000000 /* 4 ... 8 MB in DRAM */
105   -
106   -#define CONFIG_SYS_LOAD_ADDR 0x00040000 /* default load address for */
107   - /* armadillo: kernel img is here*/
108   -
109   -#define CONFIG_SYS_SYS_CLK_FREQ 58982400 /* Hz */
110   -#define CONFIG_SYS_HZ 2048 /* decrementer freq in Hz */
111   -
112   - /* valid baudrates */
113   -#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
114   -
115   -/*-----------------------------------------------------------------------
116   - * Stack sizes
117   - *
118   - * The stack sizes are set up in start.S using the settings below
119   - */
120   -#define CONFIG_STACKSIZE (128*1024) /* regular stack */
121   -#ifdef CONFIG_USE_IRQ
122   -#define CONFIG_STACKSIZE_IRQ (4*1024) /* IRQ stack */
123   -#define CONFIG_STACKSIZE_FIQ (4*1024) /* FIQ stack */
124   -#endif
125   -
126   -/*-----------------------------------------------------------------------
127   - * Physical Memory Map
128   - */
129   -#define CONFIG_NR_DRAM_BANKS 1 /* we have 1 bank of DRAM */
130   -#define PHYS_SDRAM_1 0x81000000 /* SDRAM Bank #1 */
131   -#define PHYS_SDRAM_1_SIZE 0x00800000 /* 8 MB SDRAM */
132   -
133   -#define PHYS_FLASH_1 0x80000000 /* Flash Bank #1 */
134   -#define PHYS_FLASH_SIZE 0x00200000 /* 2 MB */
135   -
136   -#define CONFIG_SYS_FLASH_BASE PHYS_FLASH_1
137   -
138   -/*-----------------------------------------------------------------------
139   - * FLASH and environment organization
140   - */
141   -#define CONFIG_SYS_MAX_FLASH_BANKS 2 /* max number of memory banks */
142   -#define CONFIG_SYS_MAX_FLASH_SECT 1024 /* max number of sectors on one chip */
143   -
144   -/* timeout values are in ticks */
145   -#define CONFIG_SYS_FLASH_ERASE_TOUT (2*CONFIG_SYS_HZ) /* Timeout for Flash Erase */
146   -#define CONFIG_SYS_FLASH_WRITE_TOUT (2*CONFIG_SYS_HZ) /* Timeout for Flash Write */
147   -
148   -#define CONFIG_ENV_IS_IN_FLASH 1
149   -#define CONFIG_ENV_ADDR (0x0 + 0x3C000) /* Addr of Environment Sector */
150   -#define CONFIG_ENV_SIZE 0x2000 /* Total Size of Environment Sector */
151   -
152   -#define CONFIG_CMDLINE_TAG
153   -#define CONFIG_SETUP_MEMORY_TAGS
154   -#define CONFIG_INITRD_TAG
155   -#define CONFIG_MMC 1
156   -/* we use this ethernet chip */
157   -#define CONFIG_ENC28J60_LPC2292
158   -
159   -#endif /* __CONFIG_H */