summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/mem-common.c
diff options
context:
space:
mode:
authorMoses Christopher <BollavarapuMoses.Christopher@in.bosch.com>2021-06-11 16:13:34 +0000
committerLokesh Vutla <lokeshvutla@ti.com>2021-07-15 17:56:03 +0530
commit050531db00474d7d298828d997f517205d8517dc (patch)
treeb05444fabafb8708177de76d20a57edcdb0889f4 /arch/arm/mach-omap2/mem-common.c
parent5dce6d226d03fd69e2318a4981194c4866bcf448 (diff)
am335x, guardian: mem: Add board dependent mem values
- Add mem-guardian.h derived from am33xx/mem.h * Add GPMC config values optimized for Bosch Guardian Board * NAND Chip used by Bosch Guardian Board is Micron MT29F4G08ABBFA Signed-off-by: Moses Christopher <BollavarapuMoses.Christopher@in.bosch.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Link: https://lore.kernel.org/r/20210611161350.2141-3-Gireesh.Hiremath@in.bosch.com
Diffstat (limited to 'arch/arm/mach-omap2/mem-common.c')
-rw-r--r--arch/arm/mach-omap2/mem-common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/mem-common.c b/arch/arm/mach-omap2/mem-common.c
index 50d5f3e9eba..2dcf0cf9c37 100644
--- a/arch/arm/mach-omap2/mem-common.c
+++ b/arch/arm/mach-omap2/mem-common.c
@@ -15,7 +15,11 @@
#include <common.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>
+#if IS_ENABLED(CONFIG_TARGET_AM335X_GUARDIAN)
+#include <asm/arch/mem-guardian.h>
+#else
#include <asm/arch/mem.h>
+#endif
#include <asm/arch/sys_proto.h>
#include <command.h>
#include <linux/mtd/omap_gpmc.h>