Root/target/linux/at91/image/u-boot/patches/100-netusg20.patch

1Add support for the NetusG20 board by Acmesystems srl.
2This board is based on AT91SAM9G20 SoC.
3
4Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
5---
6 MAKEALL | 1 +
7 Makefile | 3 +
8 arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c | 5 +
9 board/acmesystems/netusg20/Makefile | 56 +++++++
10 board/acmesystems/netusg20/config.mk | 1 +
11 board/acmesystems/netusg20/led.c | 40 +++++
12 board/acmesystems/netusg20/netusg20.c | 152 +++++++++++++++++
13 board/acmesystems/netusg20/partition.c | 39 +++++
14 include/configs/netusg20.h | 181 +++++++++++++++++++++
15 9 files changed, 478 insertions(+), 0 deletions(-)
16 create mode 100644 board/acmesystems/netusg20/Makefile
17 create mode 100644 board/acmesystems/netusg20/config.mk
18 create mode 100644 board/acmesystems/netusg20/led.c
19 create mode 100644 board/acmesystems/netusg20/netusg20.c
20 create mode 100644 board/acmesystems/netusg20/partition.c
21 create mode 100644 include/configs/netusg20.h
22
23diff --git a/MAKEALL b/MAKEALL
24index d6d5f5b..60e36e1 100755
25--- a/MAKEALL
26+++ b/MAKEALL
27@@ -684,6 +684,7 @@ LIST_at91=" \
28     meesc \
29     mp2usb \
30     m501sk \
31+ netusg20 \
32     otc570 \
33     pm9261 \
34     pm9263 \
35diff --git a/Makefile b/Makefile
36index 87d5214..b73659f 100644
37--- a/Makefile
38+++ b/Makefile
39@@ -2867,6 +2867,9 @@ at91sam9g45ekes_config : unconfig
40     fi;
41     @$(MKCONFIG) -a at91sam9m10g45ek arm arm926ejs at91sam9m10g45ek atmel at91
42 
43+netusg20_config: unconfig
44+ @$(MKCONFIG) $(@:_config=) arm arm926ejs netusg20 acmesystems at91
45+
46 otc570_config : unconfig
47     @$(MKCONFIG) $(@:_config=) arm arm926ejs otc570 esd at91
48 
49diff --git a/arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c b/arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c
50index 77d49ab..87ec531 100644
51--- a/arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c
52+++ b/arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c
53@@ -59,7 +59,12 @@ void at91_serial3_hw_init(void)
54 {
55     at91_pmc_t *pmc = (at91_pmc_t *) AT91_PMC_BASE;
56 
57+#ifdef CONFIG_NETUSG20
58+ /* pull-up active on DRXD*/
59+ at91_set_a_periph(AT91_PIO_PORTB, 14, 1);
60+#else
61     at91_set_a_periph(AT91_PIO_PORTB, 14, 0); /* DRXD */
62+#endif
63     at91_set_a_periph(AT91_PIO_PORTB, 15, 1); /* DTXD */
64     writel(1 << AT91_ID_SYS, &pmc->pcer);
65 }
66diff --git a/board/acmesystems/netusg20/Makefile b/board/acmesystems/netusg20/Makefile
67new file mode 100644
68index 0000000..31589fd
69--- /dev/null
70+++ b/board/acmesystems/netusg20/Makefile
71@@ -0,0 +1,56 @@
72+#
73+# (C) Copyright 2003-2008
74+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
75+#
76+# (C) Copyright 2008
77+# Stelian Pop <stelian.pop@leadtechdesign.com>
78+# Lead Tech Design <www.leadtechdesign.com>
79+#
80+# See file CREDITS for list of people who contributed to this
81+# project.
82+#
83+# This program is free software; you can redistribute it and/or
84+# modify it under the terms of the GNU General Public License as
85+# published by the Free Software Foundation; either version 2 of
86+# the License, or (at your option) any later version.
87+#
88+# This program is distributed in the hope that it will be useful,
89+# but WITHOUT ANY WARRANTY; without even the implied warranty of
90+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
91+# GNU General Public License for more details.
92+#
93+# You should have received a copy of the GNU General Public License
94+# along with this program; if not, write to the Free Software
95+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
96+# MA 02111-1307 USA
97+#
98+
99+include $(TOPDIR)/config.mk
100+
101+LIB = $(obj)lib$(BOARD).a
102+
103+COBJS-y += netusg20.o
104+COBJS-y += led.o
105+COBJS-y += partition.o
106+
107+SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
108+OBJS := $(addprefix $(obj),$(COBJS-y))
109+SOBJS := $(addprefix $(obj),$(SOBJS))
110+
111+$(LIB): $(obj).depend $(OBJS) $(SOBJS)
112+ $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
113+
114+clean:
115+ rm -f $(SOBJS) $(OBJS)
116+
117+distclean: clean
118+ rm -f $(LIB) core *.bak $(obj).depend
119+
120+#########################################################################
121+
122+# defines $(obj).depend target
123+include $(SRCTREE)/rules.mk
124+
125+sinclude $(obj).depend
126+
127+#########################################################################
128diff --git a/board/acmesystems/netusg20/config.mk b/board/acmesystems/netusg20/config.mk
129new file mode 100644
130index 0000000..ff2cfd1
131--- /dev/null
132+++ b/board/acmesystems/netusg20/config.mk
133@@ -0,0 +1 @@
134+TEXT_BASE = 0x23f00000
135diff --git a/board/acmesystems/netusg20/led.c b/board/acmesystems/netusg20/led.c
136new file mode 100644
137index 0000000..1016b98
138--- /dev/null
139+++ b/board/acmesystems/netusg20/led.c
140@@ -0,0 +1,40 @@
141+/*
142+ * (C) Copyright 2007-2008
143+ * Stelian Pop <stelian.pop@leadtechdesign.com>
144+ * Lead Tech Design <www.leadtechdesign.com>
145+ *
146+ * See file CREDITS for list of people who contributed to this
147+ * project.
148+ *
149+ * This program is free software; you can redistribute it and/or
150+ * modify it under the terms of the GNU General Public License as
151+ * published by the Free Software Foundation; either version 2 of
152+ * the License, or (at your option) any later version.
153+ *
154+ * This program is distributed in the hope that it will be useful,
155+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
156+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
157+ * GNU General Public License for more details.
158+ *
159+ * You should have received a copy of the GNU General Public License
160+ * along with this program; if not, write to the Free Software
161+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
162+ * MA 02111-1307 USA
163+ */
164+
165+#include <common.h>
166+#include <asm/arch/at91sam9260.h>
167+#include <asm/arch/at91_pmc.h>
168+#include <asm/arch/gpio.h>
169+#include <asm/arch/io.h>
170+
171+
172+void coloured_LED_init(void)
173+{
174+ /* Enable clock */
175+ at91_sys_write(AT91_PMC_PCER, 1 << AT91SAM9260_ID_PIOA);
176+
177+ at91_set_gpio_output(CONFIG_RED_LED, 1);
178+
179+ at91_set_gpio_value(CONFIG_RED_LED, 1);
180+}
181diff --git a/board/acmesystems/netusg20/netusg20.c b/board/acmesystems/netusg20/netusg20.c
182new file mode 100644
183index 0000000..94b4d4c
184--- /dev/null
185+++ b/board/acmesystems/netusg20/netusg20.c
186@@ -0,0 +1,152 @@
187+/*
188+ * (C) Copyright 2007-2008
189+ * Stelian Pop <stelian.pop@leadtechdesign.com>
190+ * Lead Tech Design <www.leadtechdesign.com>
191+ *
192+ * (C) Copyright 2010
193+ * Claudio Mignanti <c.mignanti@gmail.com>
194+ *
195+ * See file CREDITS for list of people who contributed to this
196+ * project.
197+ *
198+ * This program is free software; you can redistribute it and/or
199+ * modify it under the terms of the GNU General Public License as
200+ * published by the Free Software Foundation; either version 2 of
201+ * the License, or (at your option) any later version.
202+ *
203+ * This program is distributed in the hope that it will be useful,
204+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
205+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
206+ * GNU General Public License for more details.
207+ *
208+ * You should have received a copy of the GNU General Public License
209+ * along with this program; if not, write to the Free Software
210+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
211+ * MA 02111-1307 USA
212+ */
213+
214+#include <common.h>
215+#include <asm/arch/at91sam9260.h>
216+#include <asm/arch/at91sam9260_matrix.h>
217+#include <asm/arch/at91sam9_smc.h>
218+#include <asm/arch/at91_common.h>
219+#include <asm/arch/at91_pmc.h>
220+#include <asm/arch/at91_rstc.h>
221+#include <asm/arch/gpio.h>
222+#include <asm/arch/io.h>
223+#include <asm/arch/hardware.h>
224+#if defined(CONFIG_RESET_PHY_R) && defined(CONFIG_MACB)
225+#include <net.h>
226+#endif
227+#include <netdev.h>
228+
229+DECLARE_GLOBAL_DATA_PTR;
230+
231+/* ------------------------------------------------------------------------- */
232+/*
233+ * Miscelaneous platform dependent initialisations
234+ */
235+
236+#ifdef CONFIG_MACB
237+static void at91sam9260ek_macb_hw_init(void)
238+{
239+ unsigned long rstc;
240+
241+ /* Enable clock */
242+ at91_sys_write(AT91_PMC_PCER, 1 << AT91SAM9260_ID_EMAC);
243+
244+ /*
245+ * Disable pull-up on:
246+ * RXDV (PA17) => PHY normal mode (not Test mode)
247+ * ERX0 (PA14) => PHY ADDR0
248+ * ERX1 (PA15) => PHY ADDR1
249+ * ERX2 (PA25) => PHY ADDR2
250+ * ERX3 (PA26) => PHY ADDR3
251+ * ECRS (PA28) => PHY ADDR4 => PHYADDR = 0x0
252+ *
253+ * PHY has internal pull-down
254+ */
255+ writel(pin_to_mask(AT91_PIN_PA14) |
256+ pin_to_mask(AT91_PIN_PA15) |
257+ pin_to_mask(AT91_PIN_PA17) |
258+ pin_to_mask(AT91_PIN_PA25) |
259+ pin_to_mask(AT91_PIN_PA26) |
260+ pin_to_mask(AT91_PIN_PA28),
261+ pin_to_controller(AT91_PIN_PA0) + PIO_PUDR);
262+
263+ rstc = at91_sys_read(AT91_RSTC_MR) & AT91_RSTC_ERSTL;
264+
265+ at91_sys_write(AT91_RSTC_CR, AT91_RSTC_KEY | AT91_RSTC_EXTRST);
266+
267+ /* Wait for end hardware reset */
268+ while (!(at91_sys_read(AT91_RSTC_SR) & AT91_RSTC_NRSTL));
269+
270+ /* Restore NRST value */
271+ at91_sys_write(AT91_RSTC_MR, AT91_RSTC_KEY |
272+ (rstc) |
273+ AT91_RSTC_URSTEN);
274+
275+ /* Re-enable pull-up */
276+ writel(pin_to_mask(AT91_PIN_PA14) |
277+ pin_to_mask(AT91_PIN_PA15) |
278+ pin_to_mask(AT91_PIN_PA17) |
279+ pin_to_mask(AT91_PIN_PA25) |
280+ pin_to_mask(AT91_PIN_PA26) |
281+ pin_to_mask(AT91_PIN_PA28),
282+ pin_to_controller(AT91_PIN_PA0) + PIO_PUER);
283+
284+ at91_macb_hw_init();
285+}
286+#endif
287+
288+int board_init(void)
289+{
290+ /* Enable Ctrlc */
291+ console_init_f();
292+
293+ gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9G20EK;
294+
295+ /* adress of boot parameters */
296+ gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
297+
298+ at91_serial_hw_init();
299+#ifdef CONFIG_HAS_DATAFLASH
300+ at91_spi0_hw_init((1 << 0) | (1 << 1));
301+#endif
302+#ifdef CONFIG_MACB
303+ at91sam9260ek_macb_hw_init();
304+#endif
305+
306+ return 0;
307+}
308+
309+int dram_init(void)
310+{
311+ gd->bd->bi_dram[0].start = PHYS_SDRAM;
312+ gd->bd->bi_dram[0].size = PHYS_SDRAM_SIZE;
313+ return 0;
314+}
315+
316+#ifdef CONFIG_RESET_PHY_R
317+void reset_phy(void)
318+{
319+#ifdef CONFIG_MACB
320+ /*
321+ * Initialize ethernet HW addr prior to starting Linux,
322+ * needed for nfsroot
323+ */
324+ eth_init(gd->bd);
325+#endif
326+}
327+#endif
328+
329+int board_eth_init(bd_t *bis)
330+{
331+ int rc = 0;
332+#ifdef CONFIG_MACB
333+ rc = macb_eth_initialize(0, (void *)AT91SAM9260_BASE_EMAC, 0x00);
334+#endif
335+ return rc;
336+}
337+
338+void show_boot_progress (int val){}
339diff --git a/board/acmesystems/netusg20/partition.c b/board/acmesystems/netusg20/partition.c
340new file mode 100644
341index 0000000..7d79e53
342--- /dev/null
343+++ b/board/acmesystems/netusg20/partition.c
344@@ -0,0 +1,39 @@
345+/*
346+ * (C) Copyright 2008
347+ * Ulf Samuelsson <ulf@atmel.com>
348+ *
349+ * This program is free software; you can redistribute it and/or
350+ * modify it under the terms of the GNU General Public License as
351+ * published by the Free Software Foundation; either version 2 of
352+ * the License, or (at your option) any later version.
353+ *
354+ * This program is distributed in the hope that it will be useful,
355+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
356+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
357+ * GNU General Public License for more details.
358+ *
359+ * You should have received a copy of the GNU General Public License
360+ * along with this program; if not, write to the Free Software
361+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
362+ * MA 02111-1307 USA
363+ *
364+ */
365+#include <common.h>
366+#include <config.h>
367+#include <asm/hardware.h>
368+#include <dataflash.h>
369+
370+AT91S_DATAFLASH_INFO dataflash_info[CONFIG_SYS_MAX_DATAFLASH_BANKS];
371+
372+struct dataflash_addr cs[CONFIG_SYS_MAX_DATAFLASH_BANKS] = {
373+ {CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS1, 1}
374+};
375+
376+/*define the area offsets*/
377+dataflash_protect_t area_list[NB_DATAFLASH_AREA] = {
378+ {0x00000000, 0x000041FF, FLAG_PROTECT_SET, 0, "Bootstrap"},
379+ {0x00004200, 0x000083FF, FLAG_PROTECT_CLEAR, 0, "Environment"},
380+ {0x00008400, 0x00041FFF, FLAG_PROTECT_SET, 0, "U-Boot"},
381+ {0x00042000, 0x00251FFF, FLAG_PROTECT_CLEAR, 0, "Kernel"},
382+ {0x00252000, 0xFFFFFFFF, FLAG_PROTECT_CLEAR, 0, "FS"},
383+};
384diff --git a/include/configs/netusg20.h b/include/configs/netusg20.h
385new file mode 100644
386index 0000000..99b4f12
387--- /dev/null
388+++ b/include/configs/netusg20.h
389@@ -0,0 +1,181 @@
390+/*
391+ * (C) Copyright 2007-2008
392+ * Stelian Pop <stelian.pop@leadtechdesign.com>
393+ * Lead Tech Design <www.leadtechdesign.com>
394+ *
395+ * Configuation settings for the NetusG20 boards.
396+ *
397+ * See file CREDITS for list of people who contributed to this
398+ * project.
399+ *
400+ * This program is free software; you can redistribute it and/or
401+ * modify it under the terms of the GNU General Public License as
402+ * published by the Free Software Foundation; either version 2 of
403+ * the License, or (at your option) any later version.
404+ *
405+ * This program is distributed in the hope that it will be useful,
406+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
407+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
408+ * GNU General Public License for more details.
409+ *
410+ * You should have received a copy of the GNU General Public License
411+ * along with this program; if not, write to the Free Software
412+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
413+ * MA 02111-1307 USA
414+ */
415+
416+#ifndef __CONFIG_H
417+#define __CONFIG_H
418+
419+#define CONFIG_AT91_LEGACY
420+
421+/* ARM asynchronous clock */
422+#define CONFIG_SYS_AT91_MAIN_CLOCK 18432000 /* 18.432 MHz crystal */
423+#define CONFIG_SYS_HZ 1000
424+
425+#define CONFIG_DISPLAY_CPUINFO
426+
427+#define CONFIG_ARM926EJS 1 /* This is an ARM926EJS Core */
428+#define CONFIG_AT91SAM9G20 1 /* It's an Atmel AT91SAM9G20 SoC*/
429+#define CONFIG_NETUSG20 1
430+
431+#define CONFIG_ARCH_CPU_INIT
432+#undef CONFIG_USE_IRQ /* we don't need IRQ/FIQ stuff */
433+
434+#define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
435+#define CONFIG_SETUP_MEMORY_TAGS 1
436+#define CONFIG_INITRD_TAG 1
437+
438+#define CONFIG_SKIP_LOWLEVEL_INIT
439+#define CONFIG_SKIP_RELOCATE_UBOOT
440+
441+/*
442+ * Hardware drivers
443+ */
444+#define CONFIG_AT91_GPIO 1
445+#define CONFIG_ATMEL_USART 1
446+#undef CONFIG_USART0
447+#undef CONFIG_USART1
448+#undef CONFIG_USART2
449+#define CONFIG_USART3 1 /* USART 3 is DBGU */
450+
451+/* LED */
452+#define CONFIG_AT91_LED
453+#define CONFIG_RED_LED AT91_PIN_PA9 /* this is the power led */
454+#define CONFIG_GREEN_LED AT91_PIN_PA6 /* this is the user led */
455+
456+#define CONFIG_BOOTDELAY 3
457+
458+/*
459+ * BOOTP options
460+ */
461+#define CONFIG_BOOTP_BOOTFILESIZE 1
462+#define CONFIG_BOOTP_BOOTPATH 1
463+#define CONFIG_BOOTP_GATEWAY 1
464+#define CONFIG_BOOTP_HOSTNAME 1
465+
466+/*
467+ * Command line configuration.
468+ */
469+#include <config_cmd_default.h>
470+#undef CONFIG_CMD_BDI
471+#undef CONFIG_CMD_FPGA
472+#undef CONFIG_CMD_IMI
473+#undef CONFIG_CMD_IMLS
474+#undef CONFIG_CMD_LOADS
475+#undef CONFIG_CMD_SOURCE
476+
477+#define CONFIG_CMD_PING 1
478+#define CONFIG_CMD_DHCP 1
479+#define CONFIG_CMD_USB 1
480+
481+/* SDRAM */
482+#define CONFIG_NR_DRAM_BANKS 1
483+#define PHYS_SDRAM 0x20000000
484+#define PHYS_SDRAM_SIZE 0x04000000 /* 64 megs */
485+
486+/* DataFlash */
487+#define CONFIG_ATMEL_DATAFLASH_SPI
488+#define CONFIG_HAS_DATAFLASH 1
489+#define CONFIG_SYS_SPI_WRITE_TOUT (5*CONFIG_SYS_HZ)
490+#define CONFIG_SYS_MAX_DATAFLASH_BANKS 1
491+#define CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS1 0xD0000000 /* CS1 */
492+#define AT91_SPI_CLK 15000000
493+
494+#define DATAFLASH_TCSS (0x22 << 16)
495+#define DATAFLASH_TCHS (0x1 << 24)
496+
497+/* no NAND flash on this board*/
498+#define CONFIG_SYS_NO_FLASH
499+
500+/* Ethernet */
501+#define CONFIG_MACB 1
502+#define CONFIG_RMII 1
503+#define CONFIG_NET_MULTI 1
504+#define CONFIG_NET_RETRY_COUNT 20
505+#define CONFIG_RESET_PHY_R 1
506+
507+/* MMC */
508+#define CONFIG_MMC
509+#define CONFIG_CMD_MMC
510+#define CONFIG_ATMEL_MCI
511+#define CONFIG_CMD_AUTOSCRIPT
512+#define CONFIG_CMD_IMI
513+#define CONFIG_CMD_SOURCE
514+
515+#define MMCI_BASE 0xFFFA8000
516+
517+/* USB */
518+#define CONFIG_USB_ATMEL
519+#define CONFIG_USB_OHCI_NEW 1
520+#define CONFIG_DOS_PARTITION 1
521+#define CONFIG_SYS_USB_OHCI_CPU_INIT 1
522+#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00500000 /* AT91SAM9260_UHP_BASE */
523+#define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9260"
524+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
525+#define CONFIG_USB_STORAGE 1
526+
527+#define CONFIG_SYS_LOAD_ADDR 0x22000000 /* load address */
528+
529+#define CONFIG_SYS_MEMTEST_START PHYS_SDRAM
530+#define CONFIG_SYS_MEMTEST_END 0x23e00000
531+
532+/* Filesystem */
533+#define CONFIG_CMD_FAT 1
534+#define CONFIG_CMD_EXT2 1
535+
536+/* bootstrap + u-boot + env + linux in dataflash on CS1 */
537+#define CONFIG_ENV_IS_IN_DATAFLASH 1
538+#define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS1 + 0x8400)
539+#define CONFIG_ENV_OFFSET 0x4200
540+#define CONFIG_ENV_ADDR (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS1 + CONFIG_ENV_OFFSET)
541+#define CONFIG_ENV_SIZE 0x4200
542+#define CONFIG_BOOTCOMMAND "mmc init; sleep 1; " \
543+ "ext2load mmc 0 0x20000000 uImage; " \
544+ "source 0x20000000"
545+#define CONFIG_BOOTARGS "mem=64M console=ttyS0,115200 " \
546+ "root=/dev/mmcblk0p1 rootwait"
547+
548+#define CONFIG_BAUDRATE 115200
549+#define CONFIG_SYS_BAUDRATE_TABLE {115200 , 19200, 38400, 57600, 9600 }
550+
551+#define CONFIG_SYS_PROMPT "U-Boot> "
552+#define CONFIG_SYS_CBSIZE 256
553+#define CONFIG_SYS_MAXARGS 16
554+#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
555+#define CONFIG_SYS_LONGHELP 1
556+#define CONFIG_CMDLINE_EDITING 1
557+
558+/*
559+ * Size of malloc() pool
560+ */
561+#define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + 128*1024, 0x1000)
562+#define CONFIG_SYS_GBL_DATA_SIZE 128 /* 128 bytes for initial data */
563+
564+#define CONFIG_STACKSIZE (32*1024) /* regular stack */
565+
566+#ifdef CONFIG_USE_IRQ
567+#error CONFIG_USE_IRQ not supported
568+#endif
569+
570+#endif
571--
5721.7.0.4
573
574
575

Archive Download this file



interactive