mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
mtd: nand: omap: move omap_elm.h from arch/arm/include/asm to drivers/mtd/nand
omap_elm.h is a generic header used by OMAP ELM 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
6aff050988
commit
2eda892f00
3 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/errno.h>
|
#include <asm/errno.h>
|
||||||
#include <linux/mtd/omap_gpmc.h>
|
#include <linux/mtd/omap_gpmc.h>
|
||||||
#include <asm/omap_elm.h>
|
#include <linux/mtd/omap_elm.h>
|
||||||
#include <asm/arch/hardware.h>
|
#include <asm/arch/hardware.h>
|
||||||
|
|
||||||
#define ELM_DEFAULT_POLY (0)
|
#define ELM_DEFAULT_POLY (0)
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include <linux/bch.h>
|
#include <linux/bch.h>
|
||||||
#include <linux/compiler.h>
|
#include <linux/compiler.h>
|
||||||
#include <nand.h>
|
#include <nand.h>
|
||||||
#include <asm/omap_elm.h>
|
#include <linux/mtd/omap_elm.h>
|
||||||
|
|
||||||
#define BADBLOCK_MARKER_LENGTH 2
|
#define BADBLOCK_MARKER_LENGTH 2
|
||||||
#define SECTOR_BYTES 512
|
#define SECTOR_BYTES 512
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue