Author: zbao
Date: Tue Mar 16 03:02:26 2010
New Revision: 5223
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5223
Log:
Delete Config.lb in new southbridge folders.
Signed-off-by: Zheng Bao <zheng.bao(a)amd.com>
Acked-by: Marc Jones <marcj303(a)gmail.com>
Deleted:
trunk/src/southbridge/amd/rs780/Config.lb
trunk/src/southbridge/amd/sb700/Config.lb
Author: zbao
Date: Tue Mar 16 02:36:21 2010
New Revision: 5217
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5217
Log:
1. This patch is about the pci header of RS780 and SB700. It is made
seperatedly because both RS780 and SB700 will modify the pci_ids.h. It
maybe will cause conflict if the sequence the patches are applied is
different with the one they are created.
2. Dev 0-10 of RS780 has AMD's Vendor ID. So we think it is better to
define the Device ID as XXX_AMD_RS780_XXX. Does anyone think it is
better to move this definition to the AMD zone? That will split the
RS780 into two parts. Is it inappropriate?
Signed-off-by: Zheng Bao <zheng.bao(a)amd.com
Acked-by: Marc Jones <marcj303(a)gmail.com>
Modified:
trunk/src/include/device/pci_ids.h
Modified: trunk/src/include/device/pci_ids.h
==============================================================================
--- trunk/src/include/device/pci_ids.h Tue Mar 16 02:17:19 2010 (r5216)
+++ trunk/src/include/device/pci_ids.h Tue Mar 16 02:36:21 2010 (r5217)
@@ -298,6 +298,20 @@
#define PCI_DEVICE_ID_ATI_SB600_USB_3 0x438A
#define PCI_DEVICE_ID_ATI_SB600_USB_4 0x438B
+#define PCI_DEVICE_ID_ATI_SB700_LPC 0x439D
+#define PCI_DEVICE_ID_ATI_SB700_SATA 0x4390
+#define PCI_DEVICE_ID_ATI_SB700_IDE 0x439C
+#define PCI_DEVICE_ID_ATI_SB700_HDA 0x4383
+#define PCI_DEVICE_ID_ATI_SB700_PCI 0x4384
+#define PCI_DEVICE_ID_ATI_SB700_SM 0x4385
+#define PCI_DEVICE_ID_ATI_SB700_USB_18_0 0x4397
+#define PCI_DEVICE_ID_ATI_SB700_USB_18_1 0x4398
+#define PCI_DEVICE_ID_ATI_SB700_USB_18_2 0x4396
+#define PCI_DEVICE_ID_ATI_SB700_USB_19_0 0x4397
+#define PCI_DEVICE_ID_ATI_SB700_USB_19_1 0x4398
+#define PCI_DEVICE_ID_ATI_SB700_USB_19_2 0x4396
+#define PCI_DEVICE_ID_ATI_SB700_USB_20_5 0x4399
+
#define PCI_DEVICE_ID_ATI_RS690_HT 0x7910
#define PCI_DEVICE_ID_ATI_RS690_PCIE 0x7912
#define PCI_DEVICE_ID_ATI_RS690_PCIE_DEV2 0x7913
@@ -310,6 +324,23 @@
#define PCI_DEVICE_ID_ATI_RS690_INT_GFX 0x791e
#define PCI_DEVICE_ID_ATI_RS690MT_INT_GFX 0x791f
+#define PCI_DEVICE_ID_AMD_RS780_HT 0x9600
+#define PCI_DEVICE_ID_AMD_RS780_PCIE 0x9602
+#define PCI_DEVICE_ID_AMD_RS780_PCIE_DEV2 0x9603
+#define PCI_DEVICE_ID_AMD_RS780_PCIE_DEV3 0x960B
+#define PCI_DEVICE_ID_AMD_RS780_PCIE_DEV4 0x9604
+#define PCI_DEVICE_ID_AMD_RS780_PCIE_DEV5 0x9605
+#define PCI_DEVICE_ID_AMD_RS780_PCIE_DEV6 0x9606
+#define PCI_DEVICE_ID_AMD_RS780_PCIE_DEV7 0x9607
+#define PCI_DEVICE_ID_AMD_RS780_PCIE_DEV9 0x9608
+#define PCI_DEVICE_ID_AMD_RS780_PCIE_DEV10 0x9609
+#define PCI_DEVICE_ID_AMD_RS780_PCIE_DEV8 0x960A
+#define PCI_DEVICE_ID_ATI_RS780_INT_GFX 0x9610
+#define PCI_DEVICE_ID_ATI_RS780C_INT_GFX 0x9611
+#define PCI_DEVICE_ID_ATI_RS780M_INT_GFX 0x9612
+#define PCI_DEVICE_ID_ATI_RS780MC_INT_GFX 0x9613
+#define PCI_DEVICE_ID_ATI_RS780E_INT_GFX 0x9615
+
#define PCI_VENDOR_ID_VLSI 0x1004
#define PCI_DEVICE_ID_VLSI_82C592 0x0005
#define PCI_DEVICE_ID_VLSI_82C593 0x0006
Author: stepan
Date: Tue Mar 16 02:17:19 2010
New Revision: 5216
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5216
Log:
Make CLANG selectable in Kconfig
Signed-off-by: Patrick Georgi <patrick.georgi(a)coresystems.de>
Acked-by: Stefan Reinauer <stepan(a)coresystems.de>
Modified:
trunk/Makefile
trunk/src/Kconfig
trunk/util/xcompile/xcompile
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile Tue Mar 16 02:02:18 2010 (r5215)
+++ trunk/Makefile Tue Mar 16 02:17:19 2010 (r5216)
@@ -22,8 +22,10 @@
ifeq ($(INNER_SCANBUILD),y)
CC_real:=$(CC)
endif
+
$(if $(wildcard .xcompile),,$(eval $(shell bash util/xcompile/xcompile > .xcompile)))
include .xcompile
+
ifeq ($(INNER_SCANBUILD),y)
CC:=$(CC_real)
HOSTCC:=$(CC_real) --hostcc
@@ -76,6 +78,13 @@
include $(top)/.config
+ifneq ($(INNER_SCANBUILD),y)
+ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
+CC:=clang -m32
+HOSTCC:=clang
+endif
+endif
+
ARCHDIR-$(CONFIG_ARCH_X86) := i386
ARCHDIR-$(CONFIG_ARCH_POWERPC) := ppc
Modified: trunk/src/Kconfig
==============================================================================
--- trunk/src/Kconfig Tue Mar 16 02:02:18 2010 (r5215)
+++ trunk/src/Kconfig Tue Mar 16 02:17:19 2010 (r5216)
@@ -46,15 +46,28 @@
Select the prefix to all files put into the image. It's "fallback"
by default, "normal" is a common alternative.
+choice
+ prompt "Compiler"
+ default COMPILER_GCC
+ help
+ This option allows you to select the compiler used for building
+ coreboot.
+
+config COMPILER_GCC
+ bool "GCC"
+config COMPILER_LLVM_CLANG
+ bool "LLVM/clang"
+endchoice
+
config SCANBUILD_ENABLE
- bool "build with scan-build for static analysis"
+ bool "Build with scan-build for static analysis"
default n
help
Changes the build process to scan-build is used.
Requires scan-build in path.
config SCANBUILD_REPORT_LOCATION
- string "directory to put scan-build report in"
+ string "Directory to put scan-build report in"
default ""
depends on SCANBUILD_ENABLE
help
Modified: trunk/util/xcompile/xcompile
==============================================================================
--- trunk/util/xcompile/xcompile Tue Mar 16 02:02:18 2010 (r5215)
+++ trunk/util/xcompile/xcompile Tue Mar 16 02:17:19 2010 (r5216)
@@ -5,8 +5,8 @@
# Copyright (C) 2007-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 version 2 as
-# published by the Free Software Foundation.
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of