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:
Stefan Reinauer 2010-06-05 10:03:08 +00:00 committed by Stefan Reinauer
parent 1946284594
commit c4f1a77cd2
8 changed files with 9 additions and 29 deletions

View File

@ -164,6 +164,10 @@ config HAVE_ACPI_RESUME
bool bool
default n default n
config HAVE_ACPI_SLIC
bool
default n
config ACPI_SSDTX_NUM config ACPI_SSDTX_NUM
int int
default 0 default 0

View File

@ -33,6 +33,7 @@ config BOARD_GETAC_P470
select GENERATE_MP_TABLE select GENERATE_MP_TABLE
select HAVE_HARD_RESET select HAVE_HARD_RESET
select HAVE_ACPI_RESUME select HAVE_ACPI_RESUME
select HAVE_ACPI_SLIC
select HAVE_MAINBOARD_RESOURCES select HAVE_MAINBOARD_RESOURCES
select MMCONF_SUPPORT select MMCONF_SUPPORT
select USE_PRINTK_IN_CAR select USE_PRINTK_IN_CAR
@ -89,8 +90,3 @@ config FALLBACK_VGA_BIOS_FILE
default "getac-pci8086,27a2.rom" default "getac-pci8086,27a2.rom"
depends on BOARD_GETAC_P470 depends on BOARD_GETAC_P470
config HAVE_ACPI_SLIC
bool
default y
depends on BOARD_GETAC_P470

View File

@ -95,6 +95,6 @@ static const u32 mainboard_cim_verb_data[] = {
0x01F71F41, 0x01F71F41,
}; };
extern u32 * cim_verb_data; extern const u32 * cim_verb_data;
extern u32 cim_verb_data_size; extern u32 cim_verb_data_size;

View File

@ -66,8 +66,3 @@ config FALLBACK_VGA_BIOS_FILE
default "amipci_01.20" default "amipci_01.20"
depends on BOARD_IBASE_MB899 depends on BOARD_IBASE_MB899
config HAVE_ACPI_SLIC
bool
default n
depends on BOARD_IBASE_MB899

View File

@ -89,8 +89,3 @@ config MAX_PHYSICAL_CPUS
default 2 default 2
depends on BOARD_INTEL_D945GCLF depends on BOARD_INTEL_D945GCLF
config HAVE_ACPI_SLIC
bool
default n
depends on BOARD_INTEL_D945GCLF

View File

@ -66,8 +66,3 @@ config FALLBACK_VGA_BIOS_FILE
default "amipci_01.20" default "amipci_01.20"
depends on BOARD_KONTRON_986LCD_M depends on BOARD_KONTRON_986LCD_M
config HAVE_ACPI_SLIC
bool
default n
depends on BOARD_KONTRON_986LCD_M

View File

@ -63,8 +63,3 @@ config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
default 0x6886 default 0x6886
depends on BOARD_RODA_RK886EX depends on BOARD_RODA_RK886EX
config HAVE_ACPI_SLIC
bool
default n
depends on BOARD_RODA_RK886EX

View File

@ -90,10 +90,10 @@ no_codec:
return 0; return 0;
} }
u32 * cim_verb_data = NULL; const u32 * cim_verb_data = NULL;
u32 cim_verb_data_size = 0; 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; 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) static void codec_init(struct device *dev, u32 base, int addr)
{ {
u32 reg32; u32 reg32;
u32 *verb; const u32 *verb;
u32 verb_size; u32 verb_size;
int i; int i;