Convert CONFIG_SYS_NS16550_MEM32 et al to Kconfig
[platform/kernel/u-boot.git] / include / configs / exynos7420-common.h
index d112fbc..a8bef86 100644 (file)
@@ -1,63 +1,27 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Configuration settings for the Espresso7420 board.
  * Copyright (C) 2016 Samsung Electronics
  * Thomas Abraham <thomas.ab@samsung.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_EXYNOS7420_COMMON_H
 #define __CONFIG_EXYNOS7420_COMMON_H
 
-/* High Level Configuration Options */
-#define CONFIG_SAMSUNG                 /* in a SAMSUNG core */
-#define CONFIG_EXYNOS7420              /* Exynos7 Family */
-#define CONFIG_S5P
-
 #include <asm/arch/cpu.h>              /* get chip and board defs */
 #include <linux/sizes.h>
 
-#define CONFIG_ARCH_CPU_INIT
-#define CONFIG_BOARD_EARLY_INIT_F
-
-/* Size of malloc() pool before and after relocation */
-#define CONFIG_SYS_MALLOC_LEN          (CONFIG_ENV_SIZE + (80 << 20))
-
 /* Miscellaneous configurable options */
-#define CONFIG_SYS_CBSIZE              1024    /* Console I/O Buffer Size */
-#define CONFIG_SYS_PBSIZE              1024    /* Print Buffer Size */
-#define CONFIG_SYS_MAXARGS             16      /* max number of command args */
-
-/* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 
 /* select serial console configuration */
-#define CONFIG_BAUDRATE                        115200
-
-/* FLASH and environment organization */
-#define CONFIG_SYS_NO_FLASH
-
-/* Timer input clock frequency */
-#define COUNTER_FREQUENCY              24000000
-
-/* Device Tree */
-#define CONFIG_DEVICE_TREE_LIST "exynos7420-espresso7420"
 
 /* IRAM Layout */
 #define CONFIG_IRAM_BASE               0x02100000
 #define CONFIG_IRAM_SIZE               0x58000
 #define CONFIG_IRAM_END                        (CONFIG_IRAM_BASE + CONFIG_IRAM_SIZE)
-
-/* Number of CPUs available */
-#define CONFIG_CORE_COUNT              0x8
+#define CPU_RELEASE_ADDR               secondary_boot_addr
 
 /* select serial console configuration */
-#define CONFIG_BAUDRATE                        115200
-#define CONFIG_SILENT_CONSOLE
-#define CONFIG_SYS_CONSOLE_IS_IN_ENV
-#define CONFIG_CONSOLE_MUX
-
-#define CONFIG_SYS_LOAD_ADDR           (CONFIG_SYS_SDRAM_BASE + 0x3E00000)
 
 #define PHYS_SDRAM_1           CONFIG_SYS_SDRAM_BASE
 #define PHYS_SDRAM_1_SIZE      SDRAM_BANK_SIZE
@@ -77,7 +41,6 @@
 #define PHYS_SDRAM_8_SIZE      SDRAM_BANK_SIZE
 
 /* Configuration of ENV Blocks */
-#define CONFIG_ENV_SIZE        (16 << 10) /* 16 KB */
 
 #define BOOT_TARGET_DEVICES(func) \
        func(MMC, mmc, 1) \