mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
mtd: nand: omap: move omap_gpmc.h from arch/arm/include/asm to drivers/mtd/nand
omap_gpmc.h is a generic header used by OMAP NAND driver for all TI platfoms. Hence this file should be present in generic folder instead of architecture specific include folder. Build tested using: ./MAKEALL -s am33xx -s omap3 -s omap4 -s omap5 Signed-off-by: Pekon Gupta <pekon@ti.com>
This commit is contained in:
parent
51d192c40d
commit
6aff050988
9 changed files with 6 additions and 8 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
#ifndef _SYS_PROTO_H_
|
||||
#define _SYS_PROTO_H_
|
||||
#include <asm/omap_gpmc.h>
|
||||
#include <linux/mtd/omap_gpmc.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
||||
#define BOARD_REV_ID 0x0
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
#ifndef _SYS_PROTO_H_
|
||||
#define _SYS_PROTO_H_
|
||||
#include <asm/omap_gpmc.h>
|
||||
#include <linux/mtd/omap_gpmc.h>
|
||||
|
||||
typedef struct {
|
||||
u32 mtype;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <asm/arch/clock.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/omap_common.h>
|
||||
#include <asm/omap_gpmc.h>
|
||||
#include <linux/mtd/omap_gpmc.h>
|
||||
#include <asm/arch/mux_omap4.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/omap_common.h>
|
||||
#include <asm/omap_gpmc.h>
|
||||
#include <linux/mtd/omap_gpmc.h>
|
||||
#include <asm/arch/clock.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include <twl4030.h>
|
||||
#include <netdev.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/omap_gpmc.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/mem.h>
|
||||
#include <asm/arch/mmc_host_def.h>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <asm/arch/mux.h>
|
||||
#include <asm/arch/mem.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/omap_gpmc.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/mach-types.h>
|
||||
#include "overo.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/errno.h>
|
||||
#include <asm/omap_gpmc.h>
|
||||
#include <linux/mtd/omap_gpmc.h>
|
||||
#include <asm/omap_elm.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <asm/io.h>
|
||||
#include <asm/errno.h>
|
||||
#include <asm/arch/mem.h>
|
||||
#include <asm/omap_gpmc.h>
|
||||
#include <linux/mtd/omap_gpmc.h>
|
||||
#include <linux/mtd/nand_ecc.h>
|
||||
#include <linux/bch.h>
|
||||
#include <linux/compiler.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue