mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00:00
cd324a6dd2
This patch moves platform specific information for GPMC and ELM controller into separate header files, so that any derivative devices do not mess other header files. Platform specific information added into arch-xx/../hardware.h - CPU related platform specific details like base-address of GPMC and ELM Platform specific information added into arch-xx/../mem.h - Generic configs for GPMC and ELM initialization. - Hardware parameters or constrains specific to GPMC and ELM IP like; number of max number of chip-selects available Signed-off-by: Pekon Gupta <pekon@ti.com>
26 lines
418 B
C
26 lines
418 B
C
/*
|
|
* hardware.h
|
|
*
|
|
* hardware specific header
|
|
*
|
|
* Copyright (C) 2013, Texas Instruments, Incorporated - http://www.ti.com/
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __OMAP_HARDWARE_H
|
|
#define __OMAP_HARDWARE_H
|
|
|
|
#include <asm/arch/omap.h>
|
|
|
|
/*
|
|
* Common hardware definitions
|
|
*/
|
|
|
|
/* BCH Error Location Module */
|
|
#define ELM_BASE 0x48078000
|
|
|
|
/* GPMC Base address */
|
|
#define GPMC_BASE 0x50000000
|
|
|
|
#endif
|