[MIPS] IP22: Get rid of volatile in IP22 core code.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -206,7 +206,7 @@ struct hpc3_regs {
|
||||
#define HPC3_GIOMISC_ERTIME 0x1 /* Enable external timer real time. */
|
||||
#define HPC3_GIOMISC_DENDIAN 0x2 /* dma descriptor endian, 1=lit 0=big */
|
||||
|
||||
volatile u32 eeprom; /* EEPROM data reg. */
|
||||
u32 eeprom; /* EEPROM data reg. */
|
||||
#define HPC3_EEPROM_EPROT 0x01 /* Protect register enable */
|
||||
#define HPC3_EEPROM_CSEL 0x02 /* Chip select */
|
||||
#define HPC3_EEPROM_ECLK 0x04 /* EEPROM clock */
|
||||
|
@@ -72,7 +72,7 @@
|
||||
|
||||
#define ip22_is_fullhouse() (sgioc->sysid & SGIOC_SYSID_FULLHOUSE)
|
||||
|
||||
extern unsigned short ip22_eeprom_read(volatile unsigned int *ctrl, int reg);
|
||||
extern unsigned short ip22_eeprom_read(unsigned int *ctrl, int reg);
|
||||
extern unsigned short ip22_nvram_read(int reg);
|
||||
|
||||
#endif
|
||||
|
@@ -57,7 +57,7 @@ struct sgimc_regs {
|
||||
volatile u32 divider; /* Divider reg for RPSS */
|
||||
|
||||
u32 _unused5;
|
||||
volatile u32 eeprom; /* EEPROM byte reg for r4k */
|
||||
u32 eeprom; /* EEPROM byte reg for r4k */
|
||||
#define SGIMC_EEPROM_PRE 0x00000001 /* eeprom chip PRE pin assertion */
|
||||
#define SGIMC_EEPROM_CSEL 0x00000002 /* Active high, eeprom chip select */
|
||||
#define SGIMC_EEPROM_SECLOCK 0x00000004 /* EEPROM serial clock */
|
||||
|
Reference in New Issue
Block a user