Fix two warnings:
108 src/arch/i386/include/arch/acpi.h:402:5: warning: "CONFIG_HAVE_ACPI_SLIC" is not defined 1 src/mainboard/getac/p470/mainboard.c:83: warning: assignment discards qualifiers from pointer target type Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5614 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
1946284594
commit
c4f1a77cd2
|
@ -164,6 +164,10 @@ config HAVE_ACPI_RESUME
|
|||
bool
|
||||
default n
|
||||
|
||||
config HAVE_ACPI_SLIC
|
||||
bool
|
||||
default n
|
||||
|
||||
config ACPI_SSDTX_NUM
|
||||
int
|
||||
default 0
|
||||
|
|
|
@ -33,6 +33,7 @@ config BOARD_GETAC_P470
|
|||
select GENERATE_MP_TABLE
|
||||
select HAVE_HARD_RESET
|
||||
select HAVE_ACPI_RESUME
|
||||
select HAVE_ACPI_SLIC
|
||||
select HAVE_MAINBOARD_RESOURCES
|
||||
select MMCONF_SUPPORT
|
||||
select USE_PRINTK_IN_CAR
|
||||
|
@ -89,8 +90,3 @@ config FALLBACK_VGA_BIOS_FILE
|
|||
default "getac-pci8086,27a2.rom"
|
||||
depends on BOARD_GETAC_P470
|
||||
|
||||
config HAVE_ACPI_SLIC
|
||||
bool
|
||||
default y
|
||||
depends on BOARD_GETAC_P470
|
||||
|
||||
|
|
|
@ -95,6 +95,6 @@ static const u32 mainboard_cim_verb_data[] = {
|
|||
0x01F71F41,
|
||||
};
|
||||
|
||||
extern u32 * cim_verb_data;
|
||||
extern const u32 * cim_verb_data;
|
||||
extern u32 cim_verb_data_size;
|
||||
|
||||
|
|
|
@ -66,8 +66,3 @@ config FALLBACK_VGA_BIOS_FILE
|
|||
default "amipci_01.20"
|
||||
depends on BOARD_IBASE_MB899
|
||||
|
||||
config HAVE_ACPI_SLIC
|
||||
bool
|
||||
default n
|
||||
depends on BOARD_IBASE_MB899
|
||||
|
||||
|
|
|
@ -89,8 +89,3 @@ config MAX_PHYSICAL_CPUS
|
|||
default 2
|
||||
depends on BOARD_INTEL_D945GCLF
|
||||
|
||||
config HAVE_ACPI_SLIC
|
||||
bool
|
||||
default n
|
||||
depends on BOARD_INTEL_D945GCLF
|
||||
|
||||
|
|
|
@ -66,8 +66,3 @@ config FALLBACK_VGA_BIOS_FILE
|
|||
default "amipci_01.20"
|
||||
depends on BOARD_KONTRON_986LCD_M
|
||||
|
||||
config HAVE_ACPI_SLIC
|
||||
bool
|
||||
default n
|
||||
depends on BOARD_KONTRON_986LCD_M
|
||||
|
||||
|
|
|
@ -63,8 +63,3 @@ config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
|
|||
default 0x6886
|
||||
depends on BOARD_RODA_RK886EX
|
||||
|
||||
config HAVE_ACPI_SLIC
|
||||
bool
|
||||
default n
|
||||
depends on BOARD_RODA_RK886EX
|
||||
|
||||
|
|
|
@ -90,10 +90,10 @@ no_codec:
|
|||
return 0;
|
||||
}
|
||||
|
||||
u32 * cim_verb_data = NULL;
|
||||
const u32 * cim_verb_data = NULL;
|
||||
u32 cim_verb_data_size = 0;
|
||||
|
||||
static u32 find_verb(struct device *dev, u32 viddid, u32 ** verb)
|
||||
static u32 find_verb(struct device *dev, u32 viddid, const u32 ** verb)
|
||||
{
|
||||
int idx=0;
|
||||
|
||||
|
@ -166,7 +166,7 @@ static int wait_for_valid(u32 base)
|
|||
static void codec_init(struct device *dev, u32 base, int addr)
|
||||
{
|
||||
u32 reg32;
|
||||
u32 *verb;
|
||||
const u32 *verb;
|
||||
u32 verb_size;
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Reference in New Issue