mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 09:05:03 +07:00
b6ab13e7d6
For common arm zImage existing onenand header file in platform specific location was moved to generic platform data location, but it contained more than platform data, remove it. New local header has been created for exposing functions. Signed-off-by: Afzal Mohammed <afzal@ti.com>
34 lines
812 B
C
34 lines
812 B
C
/*
|
|
* arch/arm/plat-omap/include/mach/onenand.h
|
|
*
|
|
* Copyright (C) 2006 Nokia Corporation
|
|
* Author: Juha Yrjola
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __MTD_ONENAND_OMAP2_H
|
|
#define __MTD_ONENAND_OMAP2_H
|
|
|
|
#include <linux/mtd/mtd.h>
|
|
#include <linux/mtd/partitions.h>
|
|
|
|
#define ONENAND_SYNC_READ (1 << 0)
|
|
#define ONENAND_SYNC_READWRITE (1 << 1)
|
|
#define ONENAND_IN_OMAP34XX (1 << 2)
|
|
|
|
struct omap_onenand_platform_data {
|
|
int cs;
|
|
int gpio_irq;
|
|
struct mtd_partition *parts;
|
|
int nr_parts;
|
|
int (*onenand_setup)(void __iomem *, int *freq_ptr);
|
|
int dma_channel;
|
|
u8 flags;
|
|
u8 regulator_can_sleep;
|
|
u8 skip_initial_unlocking;
|
|
};
|
|
#endif
|