From 5ec2c2b998086415047c05aca4ca7082de329e5a Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 25 Aug 2009 00:53:22 +0000 Subject: Various Kconfig and Makefile.inc fixes and cosmetics. - Whitespace fixes, remove trailing whitespace, use TABs for identation (except in Kconfig "help" lines, which start with one TAB and two spaces as per Linux kernel style) - Kconfig: Standardize on 'bool' (not 'boolean'). - s/lar/cbfs/ in one Kconfig help string. - Reword various Kconfig menu entries for a more usable and consistent menu. - Fix incorrect comment of NO_RUN in devices/Kconfig. - superio/serverengines/Kconfig: Incorrect config name. - superio/Makefile.inc: s/serverengine/serverengines/. - superio/intel/Kconfig: s/SUPERIO_FINTEK_I3100/SUPERIO_INTEL_I3100/. - mainboard/via/vt8454c/Kconfig: Fix copy-paste error in help string. - mainboard/via/epia-n/Kconfig: Fix "bool" menu text. - console/Kconfig: Don't mention defaults in the menu string, kconfig already displays them anyway. - Kill "Drivers" menu for now, it only confuses users as long as it's emtpy. Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4567 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/amd/serengeti_cheetah/Kconfig | 12 +++++----- src/mainboard/amd/serengeti_cheetah/Makefile.inc | 30 ++++++++++-------------- 2 files changed, 19 insertions(+), 23 deletions(-) (limited to 'src/mainboard/amd') diff --git a/src/mainboard/amd/serengeti_cheetah/Kconfig b/src/mainboard/amd/serengeti_cheetah/Kconfig index b148558e46..8bbc4c50d7 100644 --- a/src/mainboard/amd/serengeti_cheetah/Kconfig +++ b/src/mainboard/amd/serengeti_cheetah/Kconfig @@ -3,7 +3,7 @@ choice depends on VENDOR_AMD config BOARD_AMD_SERENGETI_CHEETAH - bool "SERENGETI_CHEETAH" + bool "Serengeti Cheetah" select ARCH_X86 select CPU_AMD_K8 select CPU_AMD_SOCKET_F @@ -15,7 +15,7 @@ config BOARD_AMD_SERENGETI_CHEETAH select PIRQ_TABLE select USE_PRINTK_IN_CAR help - AMD Serengeti Series mainboards + AMD Serengeti Cheetah mainboard. endchoice config MAINBOARD_DIR @@ -27,12 +27,12 @@ config USE_DCACHE_RAM int default 1 depends on BOARD_AMD_SERENGETI_CHEETAH - + config DCACHE_RAM_BASE hex default 0xc8000 depends on BOARD_AMD_SERENGETI_CHEETAH - + config DCACHE_RAM_SIZE hex default 0x08000 @@ -70,7 +70,7 @@ config LB_CKS_RANGE_END config LB_CKS_LOC int - default 123 + default 123 depends on BOARD_AMD_SERENGETI_CHEETAH config MAINBOARD_PART_NUMBER @@ -80,7 +80,7 @@ config MAINBOARD_PART_NUMBER config PCI_64BIT_PREF_MEM int - default 0 + default 0 depends on BOARD_AMD_SERENGETI_CHEETAH config USE_DCACHE_RAM diff --git a/src/mainboard/amd/serengeti_cheetah/Makefile.inc b/src/mainboard/amd/serengeti_cheetah/Makefile.inc index d5ff7d1efb..320bb7be1e 100644 --- a/src/mainboard/amd/serengeti_cheetah/Makefile.inc +++ b/src/mainboard/amd/serengeti_cheetah/Makefile.inc @@ -1,6 +1,6 @@ ## ## This file is part of the coreboot project. -## +## ## Copyright (C) 2007-2008 coresystems GmbH ## ## This program is free software; you can redistribute it and/or @@ -19,27 +19,23 @@ ## MA 02110-1301 USA ## -## -## This mainboard requires DCACHE_AS_RAM enabled. It won't work without. -## - -driver-y += mainboard.o +driver-y += mainboard.o -#needed by irq_tables and mptable and acpi_tables +# Needed by irq_tables and mptable and acpi_tables. obj-y += get_bus_conf.o obj-$(CONFIG_HAVE_MP_TABLE) += mptable.o obj-$(CONFIG_HAVE_PIRQ_TABLE) += irq_tables.o -obj-$(CONFIG_HAVE_ACPI_TABLES) += dsdt.o -obj-$(CONFIG_HAVE_ACPI_TABLES) += acpi_tables.o -obj-$(CONFIG_HAVE_ACPI_TABLES) += fadt.o - -#./ssdt.o is in northbridge/amd/amdk8/Config.lb -obj-$(CONFIG_ACPI_SSDTX_NUM) += ssdt2.o -obj-$(CONFIG_ACPI_SSDTX_NUM) += ssdt3.o -obj-$(CONFIG_HAVE_ACPI_TABLES) += ssdt4.o +obj-$(CONFIG_HAVE_ACPI_TABLES) += dsdt.o +obj-$(CONFIG_HAVE_ACPI_TABLES) += acpi_tables.o +obj-$(CONFIG_HAVE_ACPI_TABLES) += fadt.o + +# ./ssdt.o is in northbridge/amd/amdk8/Config.lb +obj-$(CONFIG_ACPI_SSDTX_NUM) += ssdt2.o +obj-$(CONFIG_ACPI_SSDTX_NUM) += ssdt3.o +obj-$(CONFIG_HAVE_ACPI_TABLES) += ssdt4.o driver-y += ../../../drivers/i2c/i2cmux/i2cmux.o -# This is part of the conversion to init-obj and away from included code. +# This is part of the conversion to init-obj and away from included code. initobj-y += crt0.o # FIXME in $(top)/Makefile @@ -79,7 +75,7 @@ $(obj)/ssdt3.c: $(src)/mainboard/$(MAINBOARDDIR)/dx/pci3.asl" iasl -p $(CURDIR)/pci3 -tc $(CONFIG_MAINBOARD)/ perl -pi -e 's/AmlCode/AmlCode_ssdt3/g' pci3.hex mv pci3.hex ssdt3.c - + $(obj)/ssdt4.c: $(src)/mainboard/$(MAINBOARDDIR)/dx/pci4.asl" iasl -p $(CURDIR)/pci4 -tc $(CONFIG_MAINBOARD)/dx/pci4.asl perl -pi -e 's/AmlCode/AmlCode_ssdt4/g' pci4.hex -- cgit v1.2.3