aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/platforms/xtfpga/include/platform/hardware.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-08-13 16:45:54 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2018-08-20 12:28:03 -0700
commitaea731c81f998af5e45654459bac24a1c808fb22 (patch)
tree89988ef2493bf7ca73f27351db51d5a6c7dcea0f /arch/xtensa/platforms/xtfpga/include/platform/hardware.h
parentxtensa: drop unused {CONFIG,PLATFORM}_DEFAULT_MEM_SIZE (diff)
downloadlinux-dev-aea731c81f998af5e45654459bac24a1c808fb22.tar.xz
linux-dev-aea731c81f998af5e45654459bac24a1c808fb22.zip
xtensa: rework {CONFIG,PLATFORM}_DEFAULT_MEM_START
Drop PLATFORM_DEFAULT_MEM_START from the platform/hardware.h headers. Provide definition of CONFIG_DEFAULT_MEM_START always, allow changing it only in noMMU configurations when PLATFORM_WANT_DEFAULT_MEM is selected. Change prompt and description so that it's clear that it controls PAGE_OFFSET and PHYS_OFFSET. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/platforms/xtfpga/include/platform/hardware.h')
-rw-r--r--arch/xtensa/platforms/xtfpga/include/platform/hardware.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h
index cbf3cddafeaf..99d9bcbec57e 100644
--- a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h
+++ b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h
@@ -17,10 +17,6 @@
#ifndef __XTENSA_XTAVNET_HARDWARE_H
#define __XTENSA_XTAVNET_HARDWARE_H
-/* Memory configuration. */
-
-#define PLATFORM_DEFAULT_MEM_START __XTENSA_UL(CONFIG_DEFAULT_MEM_START)
-
/* Interrupt configuration. */
#define PLATFORM_NR_IRQS 0