summaryrefslogtreecommitdiffstats
path: root/kernel/arch/xtensa/platforms/xtfpga/include/platform
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/xtensa/platforms/xtfpga/include/platform')
-rw-r--r--kernel/arch/xtensa/platforms/xtfpga/include/platform/hardware.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/arch/xtensa/platforms/xtfpga/include/platform/hardware.h b/kernel/arch/xtensa/platforms/xtfpga/include/platform/hardware.h
index 0a55bb9c5..dbeea2b44 100644
--- a/kernel/arch/xtensa/platforms/xtfpga/include/platform/hardware.h
+++ b/kernel/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. */