X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fconfigs%2Fethernut5.h;h=944cdbbeb2dd8c91f94eb0ee04340dc44d0ee618;hb=41f4e4302fbaa426f0ca34720f438f74d3304e79;hp=32a526fac26b3f944164acd9dc5dea500e40fbd3;hpb=15dc63d646bd73f473141653db9a20a71aaaeced;p=oweals%2Fu-boot.git diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h index 32a526fac2..944cdbbeb2 100644 --- a/include/configs/ethernut5.h +++ b/include/configs/ethernut5.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2011 * egnite GmbH * * Configuation settings for Ethernut 5 with AT91SAM9XE. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __CONFIG_H @@ -13,7 +12,6 @@ #include /* The first stage boot loader expects u-boot running at this address. */ -#define CONFIG_SYS_TEXT_BASE 0x27000000 /* 16MB available */ /* The first stage boot loader takes care of low level initialization. */ #define CONFIG_SKIP_LOWLEVEL_INIT @@ -35,7 +33,6 @@ GENERATED_GBL_DATA_SIZE) /* 128MB SDRAM in 1 bank */ -#define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_SYS_SDRAM_BASE 0x20000000 #define CONFIG_SYS_SDRAM_SIZE (128 << 20) #define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE @@ -60,15 +57,11 @@ #define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE #define CONFIG_ENV_SPI_MAX_HZ 15000000 -#ifndef MINIMAL_LOADER -#endif - /* NAND flash */ #ifdef CONFIG_CMD_NAND #define CONFIG_SYS_MAX_NAND_DEVICE 1 #define CONFIG_SYS_NAND_BASE 0x40000000 #define CONFIG_SYS_NAND_DBW_8 -#define CONFIG_NAND_ATMEL /* our ALE is AD21 */ #define CONFIG_SYS_NAND_MASK_ALE (1 << 21) /* our CLE is AD22 */ @@ -143,19 +136,10 @@ /* DHCP/BOOTP options */ #ifdef CONFIG_CMD_DHCP #define CONFIG_BOOTP_BOOTFILESIZE -#define CONFIG_BOOTP_BOOTPATH -#define CONFIG_BOOTP_GATEWAY -#define CONFIG_BOOTP_HOSTNAME #define CONFIG_SYS_AUTOLOAD "n" #endif /* File systems */ -#define CONFIG_MTD_DEVICE -#define CONFIG_MTD_PARTITIONS -#if defined(CONFIG_CMD_MTDPARTS) || defined(CONFIG_CMD_NAND) -#define MTDIDS_DEFAULT "nand0=atmel_nand" -#define MTDPARTS_DEFAULT "mtdparts=atmel_nand:-(root)" -#endif /* Boot command */ #define CONFIG_CMDLINE_TAG @@ -164,19 +148,7 @@ #define CONFIG_BOOTCOMMAND "sf probe 0:0; " \ "sf read 0x22000000 0xc6000 0x294000; " \ "bootm 0x22000000" -#if defined(CONFIG_CMD_NAND) -#define CONFIG_BOOTARGS "console=ttyS0,115200 " \ - "root=/dev/mtdblock0 " \ - MTDPARTS_DEFAULT \ - " rw rootfstype=jffs2" -#endif /* Misc. u-boot settings */ -#define CONFIG_SYS_CBSIZE 256 -#define CONFIG_SYS_MAXARGS 16 -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + 16 \ - + sizeof(CONFIG_SYS_PROMPT)) -#define CONFIG_SYS_LONGHELP -#define CONFIG_CMDLINE_EDITING #endif