diff options
Diffstat (limited to 'arch/arm/include/asm')
| -rw-r--r-- | arch/arm/include/asm/arch-am33xx/i2c.h | 6 | ||||
| -rw-r--r-- | arch/arm/include/asm/arch-am33xx/mem.h | 5 | ||||
| -rw-r--r-- | arch/arm/include/asm/arch-bcm2835/mbox.h | 1 | ||||
| -rw-r--r-- | arch/arm/include/asm/arch-omap3/dss.h | 9 | ||||
| -rw-r--r-- | arch/arm/include/asm/omap_elm.h (renamed from arch/arm/include/asm/arch-am33xx/elm.h) | 0 | ||||
| -rw-r--r-- | arch/arm/include/asm/omap_gpmc.h | 16 | 
6 files changed, 25 insertions, 12 deletions
| diff --git a/arch/arm/include/asm/arch-am33xx/i2c.h b/arch/arm/include/asm/arch-am33xx/i2c.h index 8bfa53f41..8642c8f87 100644 --- a/arch/arm/include/asm/arch-am33xx/i2c.h +++ b/arch/arm/include/asm/arch-am33xx/i2c.h @@ -4,8 +4,8 @@   *   * SPDX-License-Identifier:	GPL-2.0+   */ -#ifndef _I2C_H_ -#define _I2C_H_ +#ifndef _I2C_AM33XX_H_ +#define _I2C_AM33XX_H_  #define  I2C_BASE1		0x44E0B000  #define  I2C_BASE2		0x4802A000 @@ -62,4 +62,4 @@ struct i2c {  #define I2C_IP_CLK			48000000  #define I2C_INTERNAL_SAMPLING_CLK	12000000 -#endif /* _I2C_H_ */ +#endif /* _I2C_AM33XX_H_ */ diff --git a/arch/arm/include/asm/arch-am33xx/mem.h b/arch/arm/include/asm/arch-am33xx/mem.h index 983ea28dc..e7e8c58b0 100644 --- a/arch/arm/include/asm/arch-am33xx/mem.h +++ b/arch/arm/include/asm/arch-am33xx/mem.h @@ -68,9 +68,4 @@  #define PISMO2_NAND_CS0		7  #define PISMO2_NAND_CS1		8 -/* make it readable for the gpmc_init */ -#define PISMO1_NOR_BASE	FLASH_BASE -#define PISMO1_NAND_BASE	CONFIG_SYS_NAND_BASE -#define PISMO1_NAND_SIZE	GPMC_SIZE_256M -  #endif /* endif _MEM_H_ */ diff --git a/arch/arm/include/asm/arch-bcm2835/mbox.h b/arch/arm/include/asm/arch-bcm2835/mbox.h index 24abe5795..6b806ec57 100644 --- a/arch/arm/include/asm/arch-bcm2835/mbox.h +++ b/arch/arm/include/asm/arch-bcm2835/mbox.h @@ -350,6 +350,7 @@ struct bcm2835_mbox_tag_overscan {  			u32 top;  			u32 bottom;  			u32 left; +			u32 right;  		} resp;  	} body;  }; diff --git a/arch/arm/include/asm/arch-omap3/dss.h b/arch/arm/include/asm/arch-omap3/dss.h index ae0babf17..8bf6b4895 100644 --- a/arch/arm/include/asm/arch-omap3/dss.h +++ b/arch/arm/include/asm/arch-omap3/dss.h @@ -178,10 +178,11 @@ struct venc_regs {  #define LCD_INTERFACE_24_BIT	3  /* Polarity */ -#define DSS_IVS	(1 << 12) -#define DSS_IHS	(1 << 13) -#define DSS_IPC	(1 << 14) -#define DSS_IEO	(1 << 15) +#define DSS_IVS		(1 << 12) +#define DSS_IHS		(1 << 13) +#define DSS_IPC		(1 << 14) +#define DSS_IEO		(1 << 15) +#define DSS_ONOFF	(1 << 17)  /* GFX format */  #define GFXFORMAT_BITMAP1		(0x0 << 1) diff --git a/arch/arm/include/asm/arch-am33xx/elm.h b/arch/arm/include/asm/omap_elm.h index 45454eaf0..45454eaf0 100644 --- a/arch/arm/include/asm/arch-am33xx/elm.h +++ b/arch/arm/include/asm/omap_elm.h diff --git a/arch/arm/include/asm/omap_gpmc.h b/arch/arm/include/asm/omap_gpmc.h index dd40cb6c1..d4143ecd8 100644 --- a/arch/arm/include/asm/omap_gpmc.h +++ b/arch/arm/include/asm/omap_gpmc.h @@ -68,4 +68,20 @@  }  #endif +enum omap_ecc { +	/* 1-bit  ECC calculation by Software, Error detection by Software */ +	OMAP_ECC_HAM1_CODE_SW = 1, /* avoid un-initialized int can be 0x0 */ +	/* 1-bit  ECC calculation by GPMC, Error detection by Software */ +	/* ECC layout compatible to legacy ROMCODE. */ +	OMAP_ECC_HAM1_CODE_HW, +	/* 4-bit  ECC calculation by GPMC, Error detection by Software */ +	OMAP_ECC_BCH4_CODE_HW_DETECTION_SW, +	/* 4-bit  ECC calculation by GPMC, Error detection by ELM */ +	OMAP_ECC_BCH4_CODE_HW, +	/* 8-bit  ECC calculation by GPMC, Error detection by Software */ +	OMAP_ECC_BCH8_CODE_HW_DETECTION_SW, +	/* 8-bit  ECC calculation by GPMC, Error detection by ELM */ +	OMAP_ECC_BCH8_CODE_HW, +}; +  #endif /* __ASM_OMAP_GPMC_H */ |