diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2018-08-12 21:32:13 -0400 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-08-20 15:27:52 -0400 |
commit | f79e4d5f92a129a1159c973735007d4ddc8541f3 (patch) | |
tree | d3dc634d028917f9a50f1c32ea99d231e761f270 | |
parent | 7bb516ca5424e12b42124fab2906b6da9c81ba9c (diff) |
xtensa: drop unused {CONFIG,PLATFORM}_DEFAULT_MEM_SIZE
Now that noMMU cache attributes are set up separately drop no longer
used macro PLATFORM_DEFAULT_MEM_SIZE and config symbol
CONFIG_DEFAULT_MEM_SIZE used for setting it.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-rw-r--r-- | arch/xtensa/Kconfig | 11 | ||||
-rw-r--r-- | arch/xtensa/configs/nommu_kc705_defconfig | 1 | ||||
-rw-r--r-- | arch/xtensa/platforms/iss/include/platform/hardware.h | 1 | ||||
-rw-r--r-- | arch/xtensa/platforms/xt2000/include/platform/hardware.h | 1 | ||||
-rw-r--r-- | arch/xtensa/platforms/xtfpga/include/platform/hardware.h | 1 |
5 files changed, 0 insertions, 15 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 524b80722fd0..787515c6770e 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig | |||
@@ -541,17 +541,6 @@ config DEFAULT_MEM_START | |||
541 | 541 | ||
542 | If unsure, leave the default value here. | 542 | If unsure, leave the default value here. |
543 | 543 | ||
544 | config DEFAULT_MEM_SIZE | ||
545 | hex "Maximal size of the default memory area" | ||
546 | depends on PLATFORM_WANT_DEFAULT_MEM | ||
547 | default 0x04000000 | ||
548 | help | ||
549 | This is the size of the default memory area. | ||
550 | Default memory area has platform-specific meaning, it may be used | ||
551 | for e.g. early cache initialization. | ||
552 | |||
553 | If unsure, leave the default value here. | ||
554 | |||
555 | config XTFPGA_LCD | 544 | config XTFPGA_LCD |
556 | bool "Enable XTFPGA LCD driver" | 545 | bool "Enable XTFPGA LCD driver" |
557 | depends on XTENSA_PLATFORM_XTFPGA | 546 | depends on XTENSA_PLATFORM_XTFPGA |
diff --git a/arch/xtensa/configs/nommu_kc705_defconfig b/arch/xtensa/configs/nommu_kc705_defconfig index 610f622d3c84..f3fc4f970ca8 100644 --- a/arch/xtensa/configs/nommu_kc705_defconfig +++ b/arch/xtensa/configs/nommu_kc705_defconfig | |||
@@ -40,7 +40,6 @@ CONFIG_CMDLINE_BOOL=y | |||
40 | CONFIG_CMDLINE="earlycon=uart8250,mmio32native,0x9d050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=256M@0x60000000" | 40 | CONFIG_CMDLINE="earlycon=uart8250,mmio32native,0x9d050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=256M@0x60000000" |
41 | CONFIG_USE_OF=y | 41 | CONFIG_USE_OF=y |
42 | CONFIG_BUILTIN_DTB="kc705_nommu" | 42 | CONFIG_BUILTIN_DTB="kc705_nommu" |
43 | CONFIG_DEFAULT_MEM_SIZE=0x10000000 | ||
44 | CONFIG_BINFMT_FLAT=y | 43 | CONFIG_BINFMT_FLAT=y |
45 | CONFIG_NET=y | 44 | CONFIG_NET=y |
46 | CONFIG_PACKET=y | 45 | CONFIG_PACKET=y |
diff --git a/arch/xtensa/platforms/iss/include/platform/hardware.h b/arch/xtensa/platforms/iss/include/platform/hardware.h index 6930c12adc16..9acea2508c05 100644 --- a/arch/xtensa/platforms/iss/include/platform/hardware.h +++ b/arch/xtensa/platforms/iss/include/platform/hardware.h | |||
@@ -20,7 +20,6 @@ | |||
20 | */ | 20 | */ |
21 | 21 | ||
22 | #define PLATFORM_DEFAULT_MEM_START 0x00000000 | 22 | #define PLATFORM_DEFAULT_MEM_START 0x00000000 |
23 | #define PLATFORM_DEFAULT_MEM_SIZE 0x08000000 | ||
24 | 23 | ||
25 | /* | 24 | /* |
26 | * Interrupt configuration. | 25 | * Interrupt configuration. |
diff --git a/arch/xtensa/platforms/xt2000/include/platform/hardware.h b/arch/xtensa/platforms/xt2000/include/platform/hardware.h index 886ef156ded3..4ad16bfc63b8 100644 --- a/arch/xtensa/platforms/xt2000/include/platform/hardware.h +++ b/arch/xtensa/platforms/xt2000/include/platform/hardware.h | |||
@@ -22,7 +22,6 @@ | |||
22 | */ | 22 | */ |
23 | 23 | ||
24 | #define PLATFORM_DEFAULT_MEM_START 0x00000000 | 24 | #define PLATFORM_DEFAULT_MEM_START 0x00000000 |
25 | #define PLATFORM_DEFAULT_MEM_SIZE 0x08000000 | ||
26 | 25 | ||
27 | /* | 26 | /* |
28 | * Number of platform IRQs | 27 | * Number of platform IRQs |
diff --git a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h index 1fda7e20dfcb..cbf3cddafeaf 100644 --- a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h +++ b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h | |||
@@ -20,7 +20,6 @@ | |||
20 | /* Memory configuration. */ | 20 | /* Memory configuration. */ |
21 | 21 | ||
22 | #define PLATFORM_DEFAULT_MEM_START __XTENSA_UL(CONFIG_DEFAULT_MEM_START) | 22 | #define PLATFORM_DEFAULT_MEM_START __XTENSA_UL(CONFIG_DEFAULT_MEM_START) |
23 | #define PLATFORM_DEFAULT_MEM_SIZE __XTENSA_UL(CONFIG_DEFAULT_MEM_SIZE) | ||
24 | 23 | ||
25 | /* Interrupt configuration. */ | 24 | /* Interrupt configuration. */ |
26 | 25 | ||