]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/include/asm/omap_boot.h
mtd: nand: omap: remove redundant platform specific header: arch-xx/omap_gpmc.h
[karo-tx-uboot.git] / arch / arm / include / asm / omap_boot.h
1 /*
2  * (C) Copyright 2013
3  * Texas Instruments, <www.ti.com>
4  *
5  * Sricharan R <r.sricharan@ti.com>
6  *
7  * SPDX-License-Identifier:     GPL-2.0+
8  */
9
10 /* ROM code defines */
11 /* Boot device */
12 #define BOOT_DEVICE_MASK        0xFF
13 #define BOOT_DEVICE_OFFSET      0x8
14 #define DEV_DESC_PTR_OFFSET     0x4
15 #define DEV_DATA_PTR_OFFSET     0x18
16 #define BOOT_MODE_OFFSET        0x8
17 #define RESET_REASON_OFFSET     0x9
18 #define CH_FLAGS_OFFSET         0xA
19
20 #define CH_FLAGS_CHSETTINGS     (0x1 << 0)
21 #define CH_FLAGS_CHRAM          (0x1 << 1)
22 #define CH_FLAGS_CHFLASH        (0x1 << 2)
23 #define CH_FLAGS_CHMMCSD        (0x1 << 3)
24
25 #ifndef __ASSEMBLY__
26 struct omap_boot_parameters {
27         char *boot_message;
28         unsigned int mem_boot_descriptor;
29         unsigned char omap_bootdevice;
30         unsigned char reset_reason;
31         unsigned char ch_flags;
32         unsigned long omap_bootmode;
33 };
34 #endif