From a49f34cfea52739488cd6b4d267f18382cd01926 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Tue, 18 Feb 2014 14:39:39 +0100 Subject: [PATCH] karo: tx53: config cleanup --- include/configs/tx53.h | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/include/configs/tx53.h b/include/configs/tx53.h index 5f780d6277..43471917e1 100644 --- a/include/configs/tx53.h +++ b/include/configs/tx53.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 + * Copyright (C) 2012-2014 * * SPDX-License-Identifier: GPL-2.0 * @@ -47,7 +47,7 @@ #endif /* - * Memory configurations + * Memory configuration options */ #define PHYS_SDRAM_1 0x70000000 /* Base address of bank 1 */ #define PHYS_SDRAM_1_SIZE SZ_512M @@ -61,7 +61,7 @@ #define CONFIG_STACKSIZE SZ_128K #define CONFIG_SYS_MALLOC_LEN SZ_8M #define CONFIG_SYS_MEMTEST_START PHYS_SDRAM_1 /* Memtest start address */ -#define CONFIG_SYS_MEMTEST_END (PHYS_SDRAM_1 + SZ_4M) /* 4 MB RAM test */ +#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + SZ_4M) #define CONFIG_SYS_SDRAM_CLK 400 /* @@ -114,7 +114,7 @@ #define CONFIG_HW_WATCHDOG /* - * Extra Environments + * Extra Environment Settings */ #define CONFIG_EXTRA_ENV_SETTINGS \ "autostart=no\0" \ @@ -173,11 +173,15 @@ */ #define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE -#define CONFIG_MXC_GPIO #define CONFIG_BAUDRATE 115200 /* Default baud rate */ #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, } #define CONFIG_SYS_CONSOLE_INFO_QUIET +/* + * GPIO driver + */ +#define CONFIG_MXC_GPIO + /* * Ethernet Driver */ @@ -222,8 +226,6 @@ #define CONFIG_MXC_NAND_IP_REGS_BASE NFC_BASE_ADDR #define CONFIG_MXC_NAND_HWECC #define CONFIG_CMD_NAND_TRIMFFS -#define CONFIG_SYS_MAX_FLASH_SECT 1024 -#define CONFIG_SYS_MAX_FLASH_BANKS 1 #define CONFIG_SYS_NAND_MAX_CHIPS 1 #define CONFIG_SYS_MAX_NAND_DEVICE 1 #define CONFIG_SYS_NAND_5_ADDR_CYCLE @@ -234,14 +236,8 @@ #define CONFIG_ENV_SIZE 0x20000 /* 128 KiB */ #define CONFIG_ENV_RANGE 0x60000 #endif -#ifndef CONFIG_SYS_NO_FLASH -#define CONFIG_CMD_FLASH -#define CONFIG_SYS_NAND_BASE 0xa0000000 -#define CONFIG_FIT -#else #define CONFIG_SYS_NAND_BASE 0x00000000 #define CONFIG_CMD_ROMUPDATE -#endif #endif /* CONFIG_CMD_NAND */ /* -- 2.39.2