blob: 98b5839154657390cd4271e973521737efb6103d [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Nishanth Menonad63dd72015-07-22 18:05:41 -05002/*
3 * ti_armv7_omap.h
4 *
5 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
6 *
Nishanth Menonad63dd72015-07-22 18:05:41 -05007 * The various ARMv7 SoCs from TI all share a number of IP blocks when
8 * implementing a given feature. This is meant to isolate the features
9 * that are based on OMAP architecture.
10 */
11#ifndef __CONFIG_TI_ARMV7_OMAP_H__
12#define __CONFIG_TI_ARMV7_OMAP_H__
13
Nishanth Menonad63dd72015-07-22 18:05:41 -050014/*
15 * GPMC NAND block. We support 1 device and the physical address to
16 * access CS0 at is 0x8000000.
17 */
18#ifdef CONFIG_NAND
Nishanth Menonad63dd72015-07-22 18:05:41 -050019#ifndef CONFIG_SYS_NAND_BASE
20#define CONFIG_SYS_NAND_BASE 0x8000000
21#endif
22#define CONFIG_SYS_MAX_NAND_DEVICE 1
Nishanth Menonad63dd72015-07-22 18:05:41 -050023#endif
24
25/* Now for the remaining common defines */
26#include <configs/ti_armv7_common.h>
27
28#endif /* __CONFIG_TI_ARMV7_OMAP_H__ */