summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/platforms/xtfpga/include/platform/hardware.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-11-09 16:32:13 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-09 16:32:13 -0800
commit3510ca19a82ba4c6a17af79c1f0448622a406efa (patch)
tree79b9e734100e40f379e9b4c3c50d261c3cdc2fa8 /arch/xtensa/platforms/xtfpga/include/platform/hardware.h
parente4da7e9a54649d6877ac23828ff93ce7191eae2c (diff)
parentafaa7c542cc9c4d8a99ba252a8ea5e8bc7c897e2 (diff)
downloadop-kernel-dev-3510ca19a82ba4c6a17af79c1f0448622a406efa.zip
op-kernel-dev-3510ca19a82ba4c6a17af79c1f0448622a406efa.tar.gz
Merge tag 'xtensa-20151108' of git://github.com/czankel/xtensa-linux
Pull xtensa updates from Chris Zankel: - fix remaining issues with noMMU cores - fix build for cores w/o cache or zero overhead loop options - fix boot of secondary cores in SMP configuration - add support for DMA to high memory pages - add dma_to_phys and phys_to_dma functions. * tag 'xtensa-20151108' of git://github.com/czankel/xtensa-linux: xtensa: implement dma_to_phys and phys_to_dma xtensa: support DMA to high memory Revert "xtensa: cache inquiry and unaligned cache handling functions" xtensa: drop unused sections and remapped reset handlers xtensa: fix secondary core boot in SMP xtensa: add FORCE_MAX_ZONEORDER to Kconfig xtensa: nommu: provide defconfig for de212 on kc705 xtensa: nommu: xtfpga: add kc705 DTS xtensa: add de212 core variant xtensa: nommu: select HAVE_FUTEX_CMPXCHG xtensa: nommu: fix default memory start address xtensa: nommu: provide correct KIO addresses xtensa: nommu: fix USER_RING definition xtensa: xtfpga: fix integer overflow in TASK_SIZE xtensa: fix build for configs without cache options xtensa: fixes for configs without loop option
Diffstat (limited to 'arch/xtensa/platforms/xtfpga/include/platform/hardware.h')
-rw-r--r--arch/xtensa/platforms/xtfpga/include/platform/hardware.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h
index 0a55bb9..dbeea2b 100644
--- a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h
+++ b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h
@@ -12,13 +12,15 @@
* This file contains the hardware configuration of the XTAVNET boards.
*/
+#include <asm/types.h>
+
#ifndef __XTENSA_XTAVNET_HARDWARE_H
#define __XTENSA_XTAVNET_HARDWARE_H
/* Memory configuration. */
-#define PLATFORM_DEFAULT_MEM_START CONFIG_DEFAULT_MEM_START
-#define PLATFORM_DEFAULT_MEM_SIZE CONFIG_DEFAULT_MEM_SIZE
+#define PLATFORM_DEFAULT_MEM_START __XTENSA_UL(CONFIG_DEFAULT_MEM_START)
+#define PLATFORM_DEFAULT_MEM_SIZE __XTENSA_UL(CONFIG_DEFAULT_MEM_SIZE)
/* Interrupt configuration. */
OpenPOWER on IntegriCloud