mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 20:38:52 +09:00
![pekon gupta](/assets/img/avatar_default.png)
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>
27 lines
418 B
C
27 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
|