diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-29 17:14:28 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-29 17:14:28 +0000 |
commit | b5828d74455a91553d78ef3077936693ae36213f (patch) | |
tree | 193d5967d93635d2b00b141dcac866f6f69956ad /src | |
parent | 002c9ff3e453b5c93e1681c4ddc7624a4bf9e5a1 (diff) |
This patch drops the coreboot CMOS checksum ranges from Kconfig because
the information is already specified in cmos.layout. coreboot is changed
to use that version instead.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmai.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5313 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
69 files changed, 22 insertions, 711 deletions
diff --git a/src/Kconfig b/src/Kconfig index e4b4e0377a..05173ac90c 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -214,18 +214,6 @@ config XIP_ROM_SIZE hex default 0x20000 -config LB_CKS_RANGE_START - int - default 49 - -config LB_CKS_RANGE_END - int - default 125 - -config LB_CKS_LOC - int - default 126 - config LOGICAL_CPUS bool default y diff --git a/src/arch/i386/Makefile.inc b/src/arch/i386/Makefile.inc index 1d6434659d..8d3e509670 100644 --- a/src/arch/i386/Makefile.inc +++ b/src/arch/i386/Makefile.inc @@ -59,9 +59,9 @@ $(obj)/option_table.h $(obj)/option_table.c: $(obj)/build_opt_tbl $(top)/src/mai @printf " OPTION $(subst $(obj)/,,$(@))\n" $(obj)/build_opt_tbl --config $(top)/src/mainboard/$(MAINBOARDDIR)/cmos.layout --header $(obj)/option_table.h --option $(obj)/option_table.c -$(obj)/build_opt_tbl: $(top)/util/options/build_opt_tbl.c $(top)/src/include/pc80/mc146818rtc.h $(top)/src/include/boot/coreboot_tables.h $(obj)/config.h +$(obj)/build_opt_tbl: $(top)/util/options/build_opt_tbl.c $(top)/src/include/pc80/mc146818rtc.h $(top)/src/include/boot/coreboot_tables.h @printf " HOSTCC $(subst $(obj)/,,$(@))\n" - $(HOSTCC) $(HOSTCFLAGS) -include $(obj)/config.h $< -o $@ + $(HOSTCC) $(HOSTCFLAGS) $< -o $@ ####################################################################### # Build the coreboot_ram (stage 2) diff --git a/src/arch/i386/boot/coreboot_table.c b/src/arch/i386/boot/coreboot_table.c index 8baaab4f60..d904c91ec4 100644 --- a/src/arch/i386/boot/coreboot_table.c +++ b/src/arch/i386/boot/coreboot_table.c @@ -2,7 +2,7 @@ * This file is part of the coreboot project. * * Copyright (C) 2003-2004 Eric Biederman - * Copyright (C) 2005-2009 coresystems GmbH + * Copyright (C) 2005-2010 coresystems GmbH * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -29,6 +29,9 @@ #include <version.h> #include <device/device.h> #include <stdlib.h> +#if (CONFIG_HAVE_OPTION_TABLE == 1) +#include <pc80/mc146818rtc.h> +#endif static struct lb_header *lb_table_init(unsigned long addr) { @@ -196,9 +199,9 @@ static struct cmos_checksum *lb_cmos_checksum(struct lb_header *header) cmos_checksum->size = (sizeof(*cmos_checksum)); - cmos_checksum->range_start = CONFIG_LB_CKS_RANGE_START * 8; - cmos_checksum->range_end = ( CONFIG_LB_CKS_RANGE_END * 8 ) + 7; - cmos_checksum->location = CONFIG_LB_CKS_LOC * 8; + cmos_checksum->range_start = LB_CKS_RANGE_START * 8; + cmos_checksum->range_end = ( LB_CKS_RANGE_END * 8 ) + 7; + cmos_checksum->location = LB_CKS_LOC * 8; cmos_checksum->type = CHECKSUM_PCBIOS; return cmos_checksum; diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h index 1561e4e811..9fb04c220a 100644 --- a/src/include/pc80/mc146818rtc.h +++ b/src/include/pc80/mc146818rtc.h @@ -81,15 +81,9 @@ #define PC_CKS_RANGE_END 45 #define PC_CKS_LOC 46 -/* Linux bios checksum is built only over bytes 49..125 */ -#ifndef CONFIG_LB_CKS_RANGE_START -#define CONFIG_LB_CKS_RANGE_START 49 -#endif -#ifndef CONFIG_LB_CKS_RANGE_END -#define CONFIG_LB_CKS_RANGE_END 125 -#endif -#ifndef CONFIG_LB_CKS_LOC -#define CONFIG_LB_CKS_LOC 126 +/* coreboot cmos checksum is usually only built over bytes 49..125 */ +#ifdef AUTOCONF_INCLUDED +#include <option_table.h> #endif #if !defined(ASSEMBLY) @@ -97,7 +91,8 @@ void rtc_init(int invalid); #if CONFIG_USE_OPTION_TABLE == 1 int get_option(void *dest, const char *name); #else -static inline int get_option(void *dest, const char *name) { return -2; } +static inline int get_option(void *dest __attribute__((unused)), + const char *name __attribute__((unused))) { return -2; } #endif #endif diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index 93d3c303c6..5b4091251a 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -30,4 +30,4 @@ obj-$(CONFIG_BOOTSPLASH) += jpeg.o smmobj-y += memcpy.o -$(obj)/lib/version.o :: $(obj)/build.h +$(obj)/lib/version.o : $(obj)/build.h diff --git a/src/mainboard/amd/dbm690t/Kconfig b/src/mainboard/amd/dbm690t/Kconfig index ce9d08c5ee..4cfc8ca7ea 100644 --- a/src/mainboard/amd/dbm690t/Kconfig +++ b/src/mainboard/amd/dbm690t/Kconfig @@ -49,16 +49,6 @@ config APIC_ID_OFFSET default 0x0 depends on BOARD_AMD_DBM690T -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_AMD_DBM690T - -config LB_CKS_LOC - int - default 123 - depends on BOARD_AMD_DBM690T - config MAINBOARD_PART_NUMBER string default "DBM690T" diff --git a/src/mainboard/amd/mahogany/Kconfig b/src/mainboard/amd/mahogany/Kconfig index 7b3a6c3311..3be2624c17 100644 --- a/src/mainboard/amd/mahogany/Kconfig +++ b/src/mainboard/amd/mahogany/Kconfig @@ -51,16 +51,6 @@ config APIC_ID_OFFSET default 0x0 depends on BOARD_AMD_MAHOGANY -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_AMD_MAHOGANY - -config LB_CKS_LOC - int - default 123 - depends on BOARD_AMD_MAHOGANY - config MAINBOARD_PART_NUMBER string default "MAHOGANY" diff --git a/src/mainboard/amd/mahogany_fam10/Kconfig b/src/mainboard/amd/mahogany_fam10/Kconfig index 2c379337dc..7e8d52daba 100644 --- a/src/mainboard/amd/mahogany_fam10/Kconfig +++ b/src/mainboard/amd/mahogany_fam10/Kconfig @@ -35,16 +35,6 @@ config APIC_ID_OFFSET default 0x0 depends on BOARD_AMD_MAHOGANY_FAM10 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_AMD_MAHOGANY_FAM10 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_AMD_MAHOGANY_FAM10 - config MAINBOARD_PART_NUMBER string default "Mahogany (Fam10)" diff --git a/src/mainboard/amd/pistachio/Kconfig b/src/mainboard/amd/pistachio/Kconfig index d41b7a8dc5..807b30a06a 100644 --- a/src/mainboard/amd/pistachio/Kconfig +++ b/src/mainboard/amd/pistachio/Kconfig @@ -43,16 +43,6 @@ config APIC_ID_OFFSET default 0x0 depends on BOARD_AMD_PISTACHIO -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_AMD_PISTACHIO - -config LB_CKS_LOC - int - default 123 - depends on BOARD_AMD_PISTACHIO - config MAINBOARD_PART_NUMBER string default "Pistachio" diff --git a/src/mainboard/amd/serengeti_cheetah/Kconfig b/src/mainboard/amd/serengeti_cheetah/Kconfig index 28146549b1..b57bed04f4 100644 --- a/src/mainboard/amd/serengeti_cheetah/Kconfig +++ b/src/mainboard/amd/serengeti_cheetah/Kconfig @@ -46,16 +46,6 @@ config APIC_ID_OFFSET default 0x8 depends on BOARD_AMD_SERENGETI_CHEETAH -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_AMD_SERENGETI_CHEETAH - -config LB_CKS_LOC - int - default 123 - depends on BOARD_AMD_SERENGETI_CHEETAH - config MAINBOARD_PART_NUMBER string default "Serengeti Cheetah" diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig b/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig index f74e40c577..1c42e7a72d 100644 --- a/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig +++ b/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig @@ -33,16 +33,6 @@ config APIC_ID_OFFSET default 0x0 depends on BOARD_AMD_SERENGETI_CHEETAH_FAM10 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_AMD_SERENGETI_CHEETAH_FAM10 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_AMD_SERENGETI_CHEETAH_FAM10 - config MAINBOARD_PART_NUMBER string default "Serengeti Cheetah (Fam10)" diff --git a/src/mainboard/arima/hdama/Kconfig b/src/mainboard/arima/hdama/Kconfig index 9f155ccd7b..f4fb574719 100644 --- a/src/mainboard/arima/hdama/Kconfig +++ b/src/mainboard/arima/hdama/Kconfig @@ -35,16 +35,6 @@ config APIC_ID_OFFSET default 0x0 depends on BOARD_ARIMA_HDAMA -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_ARIMA_HDAMA - -config LB_CKS_LOC - int - default 123 - depends on BOARD_ARIMA_HDAMA - config MAINBOARD_PART_NUMBER string default "HDAMA" diff --git a/src/mainboard/asus/a8n_e/Kconfig b/src/mainboard/asus/a8n_e/Kconfig index 5431287dfc..364699a183 100644 --- a/src/mainboard/asus/a8n_e/Kconfig +++ b/src/mainboard/asus/a8n_e/Kconfig @@ -49,16 +49,6 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY default n depends on BOARD_ASUS_A8N_E -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_ASUS_A8N_E - -config LB_CKS_LOC - int - default 123 - depends on BOARD_ASUS_A8N_E - config MAINBOARD_PART_NUMBER string default "A8N-E" diff --git a/src/mainboard/asus/a8v-e_se/Kconfig b/src/mainboard/asus/a8v-e_se/Kconfig index a8319b3756..3dba3bf6a0 100644 --- a/src/mainboard/asus/a8v-e_se/Kconfig +++ b/src/mainboard/asus/a8v-e_se/Kconfig @@ -49,16 +49,6 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY default n depends on BOARD_ASUS_A8V_E_SE -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_ASUS_A8V_E_SE - -config LB_CKS_LOC - int - default 123 - depends on BOARD_ASUS_A8V_E_SE - config MAINBOARD_PART_NUMBER string default "A8V-E SE" diff --git a/src/mainboard/asus/m2v-mx_se/Kconfig b/src/mainboard/asus/m2v-mx_se/Kconfig index 254a3c3b9d..2aa7b5676f 100644 --- a/src/mainboard/asus/m2v-mx_se/Kconfig +++ b/src/mainboard/asus/m2v-mx_se/Kconfig @@ -82,16 +82,6 @@ config HEAP_SIZE default 0x40000 depends on BOARD_ASUS_M2V_MX_SE -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_ASUS_M2V_MX_SE - -config LB_CKS_LOC - int - default 123 - depends on BOARD_ASUS_M2V_MX_SE - config HT_CHAIN_UNITID_BASE hex default 0x0 diff --git a/src/mainboard/broadcom/blast/Kconfig b/src/mainboard/broadcom/blast/Kconfig index f305e185a8..e97e01895a 100644 --- a/src/mainboard/broadcom/blast/Kconfig +++ b/src/mainboard/broadcom/blast/Kconfig @@ -46,16 +46,6 @@ config SB_HT_CHAIN_ON_BUS0 default 1 depends on BOARD_BROADCOM_BLAST -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_BROADCOM_BLAST - -config LB_CKS_LOC - int - default 123 - depends on BOARD_BROADCOM_BLAST - config MAINBOARD_PART_NUMBER string default "Blast" diff --git a/src/mainboard/dell/s1850/Kconfig b/src/mainboard/dell/s1850/Kconfig index 112abb54c1..d4e546e98f 100644 --- a/src/mainboard/dell/s1850/Kconfig +++ b/src/mainboard/dell/s1850/Kconfig @@ -20,16 +20,6 @@ config MAINBOARD_DIR default dell/s1850 depends on BOARD_DELL_S1850 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_DELL_S1850 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_DELL_S1850 - config MAINBOARD_PART_NUMBER string default "PowerEdge 1850" diff --git a/src/mainboard/gigabyte/ga_2761gxdk/Kconfig b/src/mainboard/gigabyte/ga_2761gxdk/Kconfig index 9873d6d431..ac2f2ede61 100644 --- a/src/mainboard/gigabyte/ga_2761gxdk/Kconfig +++ b/src/mainboard/gigabyte/ga_2761gxdk/Kconfig @@ -50,21 +50,6 @@ config SB_HT_CHAIN_ON_BUS0 default 2 depends on BOARD_GIGABYTE_GA_2761GXDK -config LB_CKS_RANGE_START - int - default 49 - depends on BOARD_GIGABYTE_GA_2761GXDK - -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_GIGABYTE_GA_2761GXDK - -config LB_CKS_LOC - int - default 123 - depends on BOARD_GIGABYTE_GA_2761GXDK - config MAINBOARD_PART_NUMBER string default "GA-2761GXDK" diff --git a/src/mainboard/gigabyte/m57sli/Kconfig b/src/mainboard/gigabyte/m57sli/Kconfig index 5a4f0a7dc7..21257174d8 100644 --- a/src/mainboard/gigabyte/m57sli/Kconfig +++ b/src/mainboard/gigabyte/m57sli/Kconfig @@ -53,21 +53,6 @@ config SB_HT_CHAIN_ON_BUS0 default 2 depends on BOARD_GIGABYTE_M57SLI -config LB_CKS_RANGE_START - int - default 49 - depends on BOARD_GIGABYTE_M57SLI - -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_GIGABYTE_M57SLI - -config LB_CKS_LOC - int - default 123 - depends on BOARD_GIGABYTE_M57SLI - config MAINBOARD_PART_NUMBER string default "GA-M57SLI-S4" diff --git a/src/mainboard/hp/dl145_g3/Kconfig b/src/mainboard/hp/dl145_g3/Kconfig index bea50d75cb..3d6e0a9610 100644 --- a/src/mainboard/hp/dl145_g3/Kconfig +++ b/src/mainboard/hp/dl145_g3/Kconfig @@ -52,16 +52,6 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY default n depends on BOARD_HP_DL145_G3 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_HP_DL145_G3 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_HP_DL145_G3 - config MAINBOARD_PART_NUMBER string default "ProLiant DL145 G3" diff --git a/src/mainboard/ibm/e325/Kconfig b/src/mainboard/ibm/e325/Kconfig index bef8344bf1..56980239b0 100644 --- a/src/mainboard/ibm/e325/Kconfig +++ b/src/mainboard/ibm/e325/Kconfig @@ -41,16 +41,6 @@ config APIC_ID_OFFSET default 0x0 depends on BOARD_IBM_E325 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_IBM_E325 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_IBM_E325 - config MAINBOARD_PART_NUMBER string default "eServer 325" diff --git a/src/mainboard/ibm/e326/Kconfig b/src/mainboard/ibm/e326/Kconfig index 94fa0ac7d3..1ea7820c64 100644 --- a/src/mainboard/ibm/e326/Kconfig +++ b/src/mainboard/ibm/e326/Kconfig @@ -41,16 +41,6 @@ config APIC_ID_OFFSET default 0x0 depends on BOARD_IBM_E326 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_IBM_E326 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_IBM_E326 - config MAINBOARD_PART_NUMBER string default "eServer 326" diff --git a/src/mainboard/intel/d945gclf/Kconfig b/src/mainboard/intel/d945gclf/Kconfig index 58609ffd11..e701fb7750 100644 --- a/src/mainboard/intel/d945gclf/Kconfig +++ b/src/mainboard/intel/d945gclf/Kconfig @@ -61,16 +61,6 @@ config DCACHE_RAM_SIZE default 0x8000 depends on BOARD_INTEL_D945GCLF -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_INTEL_D945GCLF - -config LB_CKS_LOC - int - default 123 - depends on BOARD_INTEL_D945GCLF - config MAINBOARD_PART_NUMBER string default "D945GCLF" diff --git a/src/mainboard/intel/eagleheights/Kconfig b/src/mainboard/intel/eagleheights/Kconfig index d57834a507..991fddf0e2 100644 --- a/src/mainboard/intel/eagleheights/Kconfig +++ b/src/mainboard/intel/eagleheights/Kconfig @@ -38,16 +38,6 @@ config DCACHE_RAM_SIZE default 0x8000 depends on BOARD_INTEL_EAGLEHEIGHTS -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_INTEL_EAGLEHEIGHTS - -config LB_CKS_LOC - int - default 123 - depends on BOARD_INTEL_EAGLEHEIGHTS - config MAINBOARD_PART_NUMBER string default "EagleHeights" diff --git a/src/mainboard/intel/jarrell/Kconfig b/src/mainboard/intel/jarrell/Kconfig index 042e1de362..e5d5314f97 100644 --- a/src/mainboard/intel/jarrell/Kconfig +++ b/src/mainboard/intel/jarrell/Kconfig @@ -21,16 +21,6 @@ config MAINBOARD_DIR default intel/jarrell depends on BOARD_INTEL_JARRELL -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_INTEL_JARRELL - -config LB_CKS_LOC - int - default 123 - depends on BOARD_INTEL_JARRELL - config MAINBOARD_PART_NUMBER string default "Jarrell" diff --git a/src/mainboard/intel/mtarvon/Kconfig b/src/mainboard/intel/mtarvon/Kconfig index 785c6b4ea2..cea70b1054 100644 --- a/src/mainboard/intel/mtarvon/Kconfig +++ b/src/mainboard/intel/mtarvon/Kconfig @@ -17,16 +17,6 @@ config MAINBOARD_DIR default intel/mtarvon depends on BOARD_INTEL_MTARVON -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_INTEL_MTARVON - -config LB_CKS_LOC - int - default 123 - depends on BOARD_INTEL_MTARVON - config MAINBOARD_PART_NUMBER string default "3100 devkit (Mt. Arvon)" diff --git a/src/mainboard/intel/truxton/Kconfig b/src/mainboard/intel/truxton/Kconfig index 22c898326f..5a382d3088 100644 --- a/src/mainboard/intel/truxton/Kconfig +++ b/src/mainboard/intel/truxton/Kconfig @@ -18,16 +18,6 @@ config MAINBOARD_DIR default intel/truxton depends on BOARD_INTEL_TRUXTON -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_INTEL_TRUXTON - -config LB_CKS_LOC - int - default 123 - depends on BOARD_INTEL_TRUXTON - config MAINBOARD_PART_NUMBER string default "Truxton" diff --git a/src/mainboard/intel/xe7501devkit/Kconfig b/src/mainboard/intel/xe7501devkit/Kconfig index 5024013294..a83c1bc0ca 100644 --- a/src/mainboard/intel/xe7501devkit/Kconfig +++ b/src/mainboard/intel/xe7501devkit/Kconfig @@ -21,21 +21,6 @@ config MAINBOARD_DIR default intel/xe7501devkit depends on BOARD_INTEL_XE7501DEVKIT -config LB_CKS_RANGE_START - int - default 128 - depends on BOARD_INTEL_XE7501DEVKIT - -config LB_CKS_RANGE_END - int - default 130 - depends on BOARD_INTEL_XE7501DEVKIT - -config LB_CKS_LOC - int - default 131 - depends on BOARD_INTEL_XE7501DEVKIT - config MAINBOARD_PART_NUMBER string default "XE7501devkit" diff --git a/src/mainboard/iwill/dk8_htx/Kconfig b/src/mainboard/iwill/dk8_htx/Kconfig index 098e29b218..dfdac01aee 100644 --- a/src/mainboard/iwill/dk8_htx/Kconfig +++ b/src/mainboard/iwill/dk8_htx/Kconfig @@ -45,16 +45,6 @@ config APIC_ID_OFFSET default 0x10 depends on BOARD_IWILL_DK8_HTX -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_IWILL_DK8_HTX - -config LB_CKS_LOC - int - default 123 - depends on BOARD_IWILL_DK8_HTX - config MAINBOARD_PART_NUMBER string default "DK8-HTX" diff --git a/src/mainboard/iwill/dk8s2/Kconfig b/src/mainboard/iwill/dk8s2/Kconfig index 2a2b8c83fb..f0948b8e2f 100644 --- a/src/mainboard/iwill/dk8s2/Kconfig +++ b/src/mainboard/iwill/dk8s2/Kconfig @@ -42,16 +42,6 @@ config APIC_ID_OFFSET default 0x0 depends on BOARD_IWILL_DK8S2 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_IWILL_DK8S2 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_IWILL_DK8S2 - config MAINBOARD_PART_NUMBER string default "DK8S2" diff --git a/src/mainboard/iwill/dk8x/Kconfig b/src/mainboard/iwill/dk8x/Kconfig index ccacfd2f2a..4a4f402d47 100644 --- a/src/mainboard/iwill/dk8x/Kconfig +++ b/src/mainboard/iwill/dk8x/Kconfig @@ -41,16 +41,6 @@ config APIC_ID_OFFSET default 0x0 depends on BOARD_IWILL_DK8X -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_IWILL_DK8X - -config LB_CKS_LOC - int - default 123 - depends on BOARD_IWILL_DK8X - config MAINBOARD_PART_NUMBER string default "DK8X" diff --git a/src/mainboard/kontron/986lcd-m/Kconfig b/src/mainboard/kontron/986lcd-m/Kconfig index 765d7b815a..3feaec0a1c 100644 --- a/src/mainboard/kontron/986lcd-m/Kconfig +++ b/src/mainboard/kontron/986lcd-m/Kconfig @@ -38,16 +38,6 @@ config DCACHE_RAM_SIZE default 0x8000 depends on BOARD_KONTRON_986LCD_M -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_KONTRON_986LCD_M - -config LB_CKS_LOC - int - default 123 - depends on BOARD_KONTRON_986LCD_M - config MAINBOARD_PART_NUMBER string default "986LCD-M" diff --git a/src/mainboard/kontron/kt690/Kconfig b/src/mainboard/kontron/kt690/Kconfig index 0a695dfdac..06bd6ff8c7 100644 --- a/src/mainboard/kontron/kt690/Kconfig +++ b/src/mainboard/kontron/kt690/Kconfig @@ -35,26 +35,11 @@ config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID default 0x6900 depends on BOARD_KONTRON_KT690 -config LB_CKS_RANGE_START - int - default 49 - depends on BOARD_KONTRON_KT690 - config APIC_ID_OFFSET hex default 0x0 depends on BOARD_KONTRON_KT690 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_KONTRON_KT690 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_KONTRON_KT690 - config MAINBOARD_PART_NUMBER string default "KT690/mITX" diff --git a/src/mainboard/msi/ms7135/Kconfig b/src/mainboard/msi/ms7135/Kconfig index fa33e534a8..1264ac94e3 100644 --- a/src/mainboard/msi/ms7135/Kconfig +++ b/src/mainboard/msi/ms7135/Kconfig @@ -34,16 +34,6 @@ config SB_HT_CHAIN_ON_BUS0 default 2 depends on BOARD_MSI_MS7135 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_MSI_MS7135 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_MSI_MS7135 - config MAINBOARD_PART_NUMBER string default "MS-7135" diff --git a/src/mainboard/msi/ms7260/Kconfig b/src/mainboard/msi/ms7260/Kconfig index 52a3651c26..7d5dc18379 100644 --- a/src/mainboard/msi/ms7260/Kconfig +++ b/src/mainboard/msi/ms7260/Kconfig @@ -51,21 +51,6 @@ config SB_HT_CHAIN_ON_BUS0 default 2 depends on BOARD_MSI_MS7260 -config LB_CKS_RANGE_START - int - default 49 - depends on BOARD_MSI_MS7260 - -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_MSI_MS7260 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_MSI_MS7260 - config MAINBOARD_PART_NUMBER string default "MS-7260" diff --git a/src/mainboard/msi/ms9185/Kconfig b/src/mainboard/msi/ms9185/Kconfig index 02742411d0..3bdd690581 100644 --- a/src/mainboard/msi/ms9185/Kconfig +++ b/src/mainboard/msi/ms9185/Kconfig @@ -47,16 +47,6 @@ config SB_HT_CHAIN_ON_BUS0 default 2 depends on BOARD_MSI_MS9185 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_MSI_MS9185 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_MSI_MS9185 - config MAINBOARD_PART_NUMBER string default "MS-9185" diff --git a/src/mainboard/msi/ms9282/Kconfig b/src/mainboard/msi/ms9282/Kconfig index 1cc800be09..691388f605 100644 --- a/src/mainboard/msi/ms9282/Kconfig +++ b/src/mainboard/msi/ms9282/Kconfig @@ -45,21 +45,6 @@ config SB_HT_CHAIN_ON_BUS0 default 1 depends on BOARD_MSI_MS9282 -config LB_CKS_RANGE_START - int - default 49 - depends on BOARD_MSI_MS9282 - -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_MSI_MS9282 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_MSI_MS9282 - config MAINBOARD_PART_NUMBER string default "MS-9282" diff --git a/src/mainboard/msi/ms9652_fam10/Kconfig b/src/mainboard/msi/ms9652_fam10/Kconfig index 87ca7cd60e..7b71295741 100644 --- a/src/mainboard/msi/ms9652_fam10/Kconfig +++ b/src/mainboard/msi/ms9652_fam10/Kconfig @@ -92,21 +92,6 @@ config USE_OPTION_TABLE default n depends on BOARD_MSI_MS9652_FAM10 -config LB_CKS_RANGE_START - int - default 49 - depends on BOARD_MSI_MS9652_FAM10 - -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_MSI_MS9652_FAM10 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_MSI_MS9652_FAM10 - config MAINBOARD_PART_NUMBER string default "MS-9652" diff --git a/src/mainboard/newisys/khepri/Kconfig b/src/mainboard/newisys/khepri/Kconfig index b7d8370f9a..5ba421eb50 100644 --- a/src/mainboard/newisys/khepri/Kconfig +++ b/src/mainboard/newisys/khepri/Kconfig @@ -45,16 +45,6 @@ config SB_HT_CHAIN_ON_BUS0 default 0 depends on BOARD_NEWISYS_KHEPRI -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_NEWISYS_KHEPRI - -config LB_CKS_LOC - int - default 123 - depends on BOARD_NEWISYS_KHEPRI - config MAINBOARD_PART_NUMBER string default "Khepri" diff --git a/src/mainboard/nvidia/l1_2pvv/Kconfig b/src/mainboard/nvidia/l1_2pvv/Kconfig index 0db62a4c8f..51502ded04 100644 --- a/src/mainboard/nvidia/l1_2pvv/Kconfig +++ b/src/mainboard/nvidia/l1_2pvv/Kconfig @@ -51,21 +51,6 @@ config SB_HT_CHAIN_ON_BUS0 default 2 depends on BOARD_NVIDIA_L1_2PVV -config LB_CKS_RANGE_START - int - default 49 - depends on BOARD_NVIDIA_L1_2PVV - -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_NVIDIA_L1_2PVV - -config LB_CKS_LOC - int - default 123 - depends on BOARD_NVIDIA_L1_2PVV - config MAINBOARD_PART_NUMBER string default "l1_2pvv" diff --git a/src/mainboard/roda/rk886ex/Kconfig b/src/mainboard/roda/rk886ex/Kconfig index 02aa0c5c73..60233a0a89 100644 --- a/src/mainboard/roda/rk886ex/Kconfig +++ b/src/mainboard/roda/rk886ex/Kconfig @@ -35,16 +35,6 @@ config DCACHE_RAM_SIZE default 0x8000 depends on BOARD_RODA_RK886EX -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_RODA_RK886EX - -config LB_CKS_LOC - int - default 123 - depends on BOARD_RODA_RK886EX - config MAINBOARD_PART_NUMBER string default "RK886EX" diff --git a/src/mainboard/sunw/ultra40/Kconfig b/src/mainboard/sunw/ultra40/Kconfig index 49b292a448..2cf8014b73 100644 --- a/src/mainboard/sunw/ultra40/Kconfig +++ b/src/mainboard/sunw/ultra40/Kconfig @@ -49,16 +49,6 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY default n depends on BOARD_SUNW_ULTRA40 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_SUNW_ULTRA40 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_SUNW_ULTRA40 - config MAINBOARD_PART_NUMBER string default "Ultra 40" diff --git a/src/mainboard/supermicro/h8dme/Kconfig b/src/mainboard/supermicro/h8dme/Kconfig index c35c50610b..0956348f0e 100644 --- a/src/mainboard/supermicro/h8dme/Kconfig +++ b/src/mainboard/supermicro/h8dme/Kconfig @@ -56,16 +56,6 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY default n depends on BOARD_SUPERMICRO_H8DME -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_SUPERMICRO_H8DME - -config LB_CKS_LOC - int - default 123 - depends on BOARD_SUPERMICRO_H8DME - config MAINBOARD_PART_NUMBER string default "H8DME-2" diff --git a/src/mainboard/supermicro/h8dmr/Kconfig b/src/mainboard/supermicro/h8dmr/Kconfig index 9fad7a34e0..09486c0ee2 100644 --- a/src/mainboard/supermicro/h8dmr/Kconfig +++ b/src/mainboard/supermicro/h8dmr/Kconfig @@ -55,16 +55,6 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY default n depends on BOARD_SUPERMICRO_H8DMR -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_SUPERMICRO_H8DMR - -config LB_CKS_LOC - int - default 123 - depends on BOARD_SUPERMICRO_H8DMR - config MAINBOARD_PART_NUMBER string default "H8DMR-i2" diff --git a/src/mainboard/supermicro/h8dmr_fam10/Kconfig b/src/mainboard/supermicro/h8dmr_fam10/Kconfig index a325b70728..b018629add 100644 --- a/src/mainboard/supermicro/h8dmr_fam10/Kconfig +++ b/src/mainboard/supermicro/h8dmr_fam10/Kconfig @@ -73,16 +73,6 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY default n depends on BOARD_SUPERMICRO_H8DMR_FAM10 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_SUPERMICRO_H8DMR_FAM10 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_SUPERMICRO_H8DMR_FAM10 - config MAINBOARD_PART_NUMBER string default "H8DMR-i2 (Fam10)" diff --git a/src/mainboard/supermicro/h8qme_fam10/Kconfig b/src/mainboard/supermicro/h8qme_fam10/Kconfig index 12622f475b..98975cf22a 100644 --- a/src/mainboard/supermicro/h8qme_fam10/Kconfig +++ b/src/mainboard/supermicro/h8qme_fam10/Kconfig @@ -74,16 +74,6 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY default n depends on BOARD_SUPERMICRO_H8QME_FAM10 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_SUPERMICRO_H8QME_FAM10 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_SUPERMICRO_H8QME_FAM10 - config MAINBOARD_PART_NUMBER string default "H8QME-2+ (Fam10)" diff --git a/src/mainboard/supermicro/x6dai_g/Kconfig b/src/mainboard/supermicro/x6dai_g/Kconfig index 908e8974bf..fc224c54e7 100644 --- a/src/mainboard/supermicro/x6dai_g/Kconfig +++ b/src/mainboard/supermicro/x6dai_g/Kconfig @@ -17,16 +17,6 @@ config MAINBOARD_DIR default supermicro/x6dai_g depends on BOARD_SUPERMICRO_X6DAI_G -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_SUPERMICRO_X6DAI_G - -config LB_CKS_LOC - int - default 123 - depends on BOARD_SUPERMICRO_X6DAI_G - config MAINBOARD_PART_NUMBER string default "X6DAi-G" diff --git a/src/mainboard/supermicro/x6dhe_g/Kconfig b/src/mainboard/supermicro/x6dhe_g/Kconfig index 4abac9ad67..0f7539861e 100644 --- a/src/mainboard/supermicro/x6dhe_g/Kconfig +++ b/src/mainboard/supermicro/x6dhe_g/Kconfig @@ -19,16 +19,6 @@ config MAINBOARD_DIR default supermicro/x6dhe_g depends on BOARD_SUPERMICRO_X6DHE_G -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_SUPERMICRO_X6DHE_G - -config LB_CKS_LOC - int - default 123 - depends on BOARD_SUPERMICRO_X6DHE_G - config MAINBOARD_PART_NUMBER string default "X6DHE-G" diff --git a/src/mainboard/supermicro/x6dhe_g2/Kconfig b/src/mainboard/supermicro/x6dhe_g2/Kconfig index d0b5de72ee..18190c09e9 100644 --- a/src/mainboard/supermicro/x6dhe_g2/Kconfig +++ b/src/mainboard/supermicro/x6dhe_g2/Kconfig @@ -20,16 +20,6 @@ config MAINBOARD_DIR default supermicro/x6dhe_g2 depends on BOARD_SUPERMICRO_X6DHE_G2 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_SUPERMICRO_X6DHE_G2 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_SUPERMICRO_X6DHE_G2 - config MAINBOARD_PART_NUMBER string default "X6DHE-G2" diff --git a/src/mainboard/supermicro/x6dhr_ig/Kconfig b/src/mainboard/supermicro/x6dhr_ig/Kconfig index ad8a6dbfeb..11a0add474 100644 --- a/src/mainboard/supermicro/x6dhr_ig/Kconfig +++ b/src/mainboard/supermicro/x6dhr_ig/Kconfig @@ -19,16 +19,6 @@ config MAINBOARD_DIR default supermicro/x6dhr_ig depends on BOARD_SUPERMICRO_X6DHR_IG -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_SUPERMICRO_X6DHR_IG - -config LB_CKS_LOC - int - default 123 - depends on BOARD_SUPERMICRO_X6DHR_IG - config MAINBOARD_PART_NUMBER string default "X6DHR-iG" diff --git a/src/mainboard/supermicro/x6dhr_ig2/Kconfig b/src/mainboard/supermicro/x6dhr_ig2/Kconfig index f1e3870373..e2cf357abd 100644 --- a/src/mainboard/supermicro/x6dhr_ig2/Kconfig +++ b/src/mainboard/supermicro/x6dhr_ig2/Kconfig @@ -19,16 +19,6 @@ config MAINBOARD_DIR default supermicro/x6dhr_ig2 depends on BOARD_SUPERMICRO_X6DHR_IG2 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_SUPERMICRO_X6DHR_IG2 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_SUPERMICRO_X6DHR_IG2 - config MAINBOARD_PART_NUMBER string default "X6DHR-iG2" diff --git a/src/mainboard/technexion/tim5690/Kconfig b/src/mainboard/technexion/tim5690/Kconfig index b8d73f1de4..8090d02191 100644 --- a/src/mainboard/technexion/tim5690/Kconfig +++ b/src/mainboard/technexion/tim5690/Kconfig @@ -45,16 +45,6 @@ config APIC_ID_OFFSET default 0x0 depends on BOARD_TECHNEXION_TIM5690 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TECHNEXION_TIM5690 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TECHNEXION_TIM5690 - config MAINBOARD_PART_NUMBER string default "TIM-5690" diff --git a/src/mainboard/technexion/tim8690/Kconfig b/src/mainboard/technexion/tim8690/Kconfig index f0292fc651..0b391ca877 100644 --- a/src/mainboard/technexion/tim8690/Kconfig +++ b/src/mainboard/technexion/tim8690/Kconfig @@ -44,16 +44,6 @@ config APIC_ID_OFFSET default 0x0 depends on BOARD_TECHNEXION_TIM8690 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TECHNEXION_TIM8690 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TECHNEXION_TIM8690 - config MAINBOARD_PART_NUMBER string default "TIM-8690" diff --git a/src/mainboard/tyan/s2735/Kconfig b/src/mainboard/tyan/s2735/Kconfig index a1705fbac0..0f9353a3ab 100644 --- a/src/mainboard/tyan/s2735/Kconfig +++ b/src/mainboard/tyan/s2735/Kconfig @@ -31,21 +31,6 @@ config DCACHE_RAM_SIZE default 0x1000 depends on BOARD_TYAN_S2735 -config LB_CKS_RANGE_START - int - default 49 - depends on BOARD_TYAN_S2735 - -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S2735 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S2735 - config MAINBOARD_PART_NUMBER string default "S2735" diff --git a/src/mainboard/tyan/s2850/Kconfig b/src/mainboard/tyan/s2850/Kconfig index 0cfe1cd88f..40e3e335c4 100644 --- a/src/mainboard/tyan/s2850/Kconfig +++ b/src/mainboard/tyan/s2850/Kconfig @@ -16,16 +16,6 @@ config MAINBOARD_DIR default tyan/s2850 depends on BOARD_TYAN_S2850 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S2850 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S2850 - config MAINBOARD_PART_NUMBER string default "S2850" diff --git a/src/mainboard/tyan/s2875/Kconfig b/src/mainboard/tyan/s2875/Kconfig index 5b6ff9053f..2972ed19ec 100644 --- a/src/mainboard/tyan/s2875/Kconfig +++ b/src/mainboard/tyan/s2875/Kconfig @@ -17,16 +17,6 @@ config MAINBOARD_DIR default tyan/s2875 depends on BOARD_TYAN_S2875 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S2875 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S2875 - config MAINBOARD_PART_NUMBER string default "S2875" diff --git a/src/mainboard/tyan/s2880/Kconfig b/src/mainboard/tyan/s2880/Kconfig index 99c287389c..e89f9923a3 100644 --- a/src/mainboard/tyan/s2880/Kconfig +++ b/src/mainboard/tyan/s2880/Kconfig @@ -28,16 +28,6 @@ config SB_HT_CHAIN_ON_BUS0 default 0 depends on BOARD_TYAN_S2880 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S2880 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S2880 - config MAINBOARD_PART_NUMBER string default "S2880" diff --git a/src/mainboard/tyan/s2881/Kconfig b/src/mainboard/tyan/s2881/Kconfig index 301618b11b..4b8b47d835 100644 --- a/src/mainboard/tyan/s2881/Kconfig +++ b/src/mainboard/tyan/s2881/Kconfig @@ -29,16 +29,6 @@ config SB_HT_CHAIN_ON_BUS0 default 2 depends on BOARD_TYAN_S2881 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S2881 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S2881 - config MAINBOARD_PART_NUMBER string default "S2881" diff --git a/src/mainboard/tyan/s2882/Kconfig b/src/mainboard/tyan/s2882/Kconfig index 2fbf41a402..616259ea7f 100644 --- a/src/mainboard/tyan/s2882/Kconfig +++ b/src/mainboard/tyan/s2882/Kconfig @@ -28,16 +28,6 @@ config SB_HT_CHAIN_ON_BUS0 default 0 depends on BOARD_TYAN_S2882 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S2882 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S2882 - config MAINBOARD_PART_NUMBER string default "S2882" diff --git a/src/mainboard/tyan/s2885/Kconfig b/src/mainboard/tyan/s2885/Kconfig index e02a7bf6d0..e3d6e55ccf 100644 --- a/src/mainboard/tyan/s2885/Kconfig +++ b/src/mainboard/tyan/s2885/Kconfig @@ -29,16 +29,6 @@ config SB_HT_CHAIN_ON_BUS0 default 2 depends on BOARD_TYAN_S2885 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S2885 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S2885 - config MAINBOARD_PART_NUMBER string default "S2885" diff --git a/src/mainboard/tyan/s2891/Kconfig b/src/mainboard/tyan/s2891/Kconfig index b92cc9b9a4..40611812a8 100644 --- a/src/mainboard/tyan/s2891/Kconfig +++ b/src/mainboard/tyan/s2891/Kconfig @@ -31,16 +31,6 @@ config SB_HT_CHAIN_ON_BUS0 default 2 depends on BOARD_TYAN_S2891 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S2891 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S2891 - config MAINBOARD_PART_NUMBER string default "S2891" diff --git a/src/mainboard/tyan/s2892/Kconfig b/src/mainboard/tyan/s2892/Kconfig index 0857f8723d..5ea5a0c76c 100644 --- a/src/mainboard/tyan/s2892/Kconfig +++ b/src/mainboard/tyan/s2892/Kconfig @@ -30,16 +30,6 @@ config SB_HT_CHAIN_ON_BUS0 default 2 depends on BOARD_TYAN_S2892 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S2892 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S2892 - config MAINBOARD_PART_NUMBER string default "S2892" diff --git a/src/mainboard/tyan/s2895/Kconfig b/src/mainboard/tyan/s2895/Kconfig index c8d1ce157a..6765588631 100644 --- a/src/mainboard/tyan/s2895/Kconfig +++ b/src/mainboard/tyan/s2895/Kconfig @@ -30,16 +30,6 @@ config SB_HT_CHAIN_ON_BUS0 default 2 depends on BOARD_TYAN_S2895 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S2895 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S2895 - config MAINBOARD_PART_NUMBER string default "S2895" diff --git a/src/mainboard/tyan/s2912/Kconfig b/src/mainboard/tyan/s2912/Kconfig index 79ea97b4f3..1d8d834df9 100644 --- a/src/mainboard/tyan/s2912/Kconfig +++ b/src/mainboard/tyan/s2912/Kconfig @@ -51,21 +51,6 @@ config SB_HT_CHAIN_ON_BUS0 default 2 depends on BOARD_TYAN_S2912 -config LB_CKS_RANGE_START - int - default 49 - depends on BOARD_TYAN_S2912 - -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S2912 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S2912 - config MAINBOARD_PART_NUMBER string default "S2912" diff --git a/src/mainboard/tyan/s2912_fam10/Kconfig b/src/mainboard/tyan/s2912_fam10/Kconfig index e1ac2dc222..74b387af86 100644 --- a/src/mainboard/tyan/s2912_fam10/Kconfig +++ b/src/mainboard/tyan/s2912_fam10/Kconfig @@ -53,21 +53,6 @@ config SB_HT_CHAIN_ON_BUS0 default 2 depends on BOARD_TYAN_S2912_FAM10 -config LB_CKS_RANGE_START - int - default 49 - depends on BOARD_TYAN_S2912_FAM10 - -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S2912_FAM10 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S2912_FAM10 - config MAINBOARD_PART_NUMBER string default "S2912 (Fam10)" diff --git a/src/mainboard/tyan/s4880/Kconfig b/src/mainboard/tyan/s4880/Kconfig index 4ba5853d2f..48d06dbfc9 100644 --- a/src/mainboard/tyan/s4880/Kconfig +++ b/src/mainboard/tyan/s4880/Kconfig @@ -45,16 +45,6 @@ config SB_HT_CHAIN_ON_BUS0 default 0 depends on BOARD_TYAN_S4880 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S4880 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S4880 - config MAINBOARD_PART_NUMBER string default "S4880" diff --git a/src/mainboard/tyan/s4882/Kconfig b/src/mainboard/tyan/s4882/Kconfig index eedd1f1152..b473b4efc1 100644 --- a/src/mainboard/tyan/s4882/Kconfig +++ b/src/mainboard/tyan/s4882/Kconfig @@ -45,16 +45,6 @@ config SB_HT_CHAIN_ON_BUS0 default 0 depends on BOARD_TYAN_S4882 -config LB_CKS_RANGE_END - int - default 122 - depends on BOARD_TYAN_S4882 - -config LB_CKS_LOC - int - default 123 - depends on BOARD_TYAN_S4882 - config MAINBOARD_PART_NUMBER string default "S4882" diff --git a/src/pc80/mc146818rtc.c b/src/pc80/mc146818rtc.c index 9251f7924d..1b39db21d1 100644 --- a/src/pc80/mc146818rtc.c +++ b/src/pc80/mc146818rtc.c @@ -185,8 +185,8 @@ void rtc_init(int invalid) #if CONFIG_HAVE_OPTION_TABLE /* See if there is a LB CMOS checksum error */ - checksum_invalid = !rtc_checksum_valid(CONFIG_LB_CKS_RANGE_START, - CONFIG_LB_CKS_RANGE_END,CONFIG_LB_CKS_LOC); + checksum_invalid = !rtc_checksum_valid(LB_CKS_RANGE_START, + LB_CKS_RANGE_END,LB_CKS_LOC); if(checksum_invalid) printk(BIOS_DEBUG, "Invalid CMOS LB checksum\n"); @@ -263,8 +263,8 @@ int get_option(void *dest, const char *name) if(get_cmos_value(ce->bit, ce->length, dest)) return(-3); - if(!rtc_checksum_valid(CONFIG_LB_CKS_RANGE_START, - CONFIG_LB_CKS_RANGE_END,CONFIG_LB_CKS_LOC)) + if(!rtc_checksum_valid(LB_CKS_RANGE_START, + LB_CKS_RANGE_END,LB_CKS_LOC)) return(-4); return(0); } diff --git a/src/pc80/mc146818rtc_early.c b/src/pc80/mc146818rtc_early.c index ad5a4dc638..7a1492102a 100644 --- a/src/pc80/mc146818rtc_early.c +++ b/src/pc80/mc146818rtc_early.c @@ -44,14 +44,14 @@ static int cmos_chksum_valid(void) unsigned long sum, old_sum; sum = 0; /* Comput the cmos checksum */ - for(addr = CONFIG_LB_CKS_RANGE_START; addr <= CONFIG_LB_CKS_RANGE_END; addr++) { + for(addr = LB_CKS_RANGE_START; addr <= LB_CKS_RANGE_END; addr++) { sum += cmos_read(addr); } sum = (sum & 0xffff) ^ 0xffff; /* Read the stored checksum */ - old_sum = cmos_read(CONFIG_LB_CKS_LOC) << 8; - old_sum |= cmos_read(CONFIG_LB_CKS_LOC+1); + old_sum = cmos_read(LB_CKS_LOC) << 8; + old_sum |= cmos_read(LB_CKS_LOC+1); return sum == old_sum; } |