diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-02-27 08:39:04 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-02-27 08:39:04 +0000 |
commit | 37bdb87fab34f772d17c694d3969fd177c4adf57 (patch) | |
tree | 5c6c484a3eb3e9aaecdb4b38587801e902189886 /src/mainboard/supermicro | |
parent | 138be8315b63b0c8955159580d085e7621882b95 (diff) | |
download | coreboot-37bdb87fab34f772d17c694d3969fd177c4adf57.tar.xz |
- make HAVE_HARD_RESET match what newconfig did
- introduce BOARD_HAS_HARD_RESET and use it if a board provides
hard_reset in $(MAINBOARDDIR)/reset.c, instead of some chipset component
- move a couple of rules out of the mainboards' Makefiles into
src/arch/i386/Makefile.inc:
initobj-y += crt0.o
obj-y += mainboard.o
obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
obj-$(CONFIG_BOARD_HAS_HARD_RESET) += reset.o
- remove Makefile.incs that are empty (or comment-only) after these
changes, incl. Makefile.romccboard.inc (and references to it)
- Make include not fail if Makefile.inc doesn't exist.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5168 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/supermicro')
-rw-r--r-- | src/mainboard/supermicro/h8dme/Makefile.inc | 9 | ||||
-rw-r--r-- | src/mainboard/supermicro/h8dmr/Makefile.inc | 10 | ||||
-rw-r--r-- | src/mainboard/supermicro/h8dmr_fam10/Makefile.inc | 10 | ||||
-rw-r--r-- | src/mainboard/supermicro/h8qme_fam10/Makefile.inc | 10 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dai_g/Kconfig | 2 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dai_g/Makefile.inc | 3 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dhe_g/Kconfig | 2 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dhe_g/Makefile.inc | 3 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dhe_g2/Kconfig | 2 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dhe_g2/Makefile.inc | 3 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dhr_ig/Kconfig | 2 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dhr_ig/Makefile.inc | 3 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dhr_ig2/Kconfig | 2 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dhr_ig2/Makefile.inc | 3 |
14 files changed, 10 insertions, 54 deletions
diff --git a/src/mainboard/supermicro/h8dme/Makefile.inc b/src/mainboard/supermicro/h8dme/Makefile.inc index 22ce20d0b0..15fca9e73c 100644 --- a/src/mainboard/supermicro/h8dme/Makefile.inc +++ b/src/mainboard/supermicro/h8dme/Makefile.inc @@ -17,16 +17,7 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -obj-y += mainboard.o obj-y += ../../../drivers/i2c/i2cmux2/i2cmux2.o # Needed by irq_tables and mptable and acpi_tables. obj-y += get_bus_conf.o -obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o -obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o - -# This is part of the conversion to init-obj and away from included code. - -initobj-y += crt0.o - - diff --git a/src/mainboard/supermicro/h8dmr/Makefile.inc b/src/mainboard/supermicro/h8dmr/Makefile.inc index 9b21a30295..5b1a13c211 100644 --- a/src/mainboard/supermicro/h8dmr/Makefile.inc +++ b/src/mainboard/supermicro/h8dmr/Makefile.inc @@ -17,15 +17,5 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -obj-y += mainboard.o - # Needed by irq_tables and mptable and acpi_tables. obj-y += get_bus_conf.o -obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o -obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o - -# This is part of the conversion to init-obj and away from included code. - -initobj-y += crt0.o - - diff --git a/src/mainboard/supermicro/h8dmr_fam10/Makefile.inc b/src/mainboard/supermicro/h8dmr_fam10/Makefile.inc index 9b21a30295..5b1a13c211 100644 --- a/src/mainboard/supermicro/h8dmr_fam10/Makefile.inc +++ b/src/mainboard/supermicro/h8dmr_fam10/Makefile.inc @@ -17,15 +17,5 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -obj-y += mainboard.o - # Needed by irq_tables and mptable and acpi_tables. obj-y += get_bus_conf.o -obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o -obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o - -# This is part of the conversion to init-obj and away from included code. - -initobj-y += crt0.o - - diff --git a/src/mainboard/supermicro/h8qme_fam10/Makefile.inc b/src/mainboard/supermicro/h8qme_fam10/Makefile.inc index 9b21a30295..5b1a13c211 100644 --- a/src/mainboard/supermicro/h8qme_fam10/Makefile.inc +++ b/src/mainboard/supermicro/h8qme_fam10/Makefile.inc @@ -17,15 +17,5 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -obj-y += mainboard.o - # Needed by irq_tables and mptable and acpi_tables. obj-y += get_bus_conf.o -obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o -obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o - -# This is part of the conversion to init-obj and away from included code. - -initobj-y += crt0.o - - diff --git a/src/mainboard/supermicro/x6dai_g/Kconfig b/src/mainboard/supermicro/x6dai_g/Kconfig index d79ca567f5..908e8974bf 100644 --- a/src/mainboard/supermicro/x6dai_g/Kconfig +++ b/src/mainboard/supermicro/x6dai_g/Kconfig @@ -6,6 +6,8 @@ config BOARD_SUPERMICRO_X6DAI_G select SOUTHBRIDGE_INTEL_ESB6300 select SUPERIO_WINBOND_W83627HF select ROMCC + select HAVE_HARD_RESET + select BOARD_HAS_HARD_RESET select HAVE_PIRQ_TABLE select HAVE_MP_TABLE select BOARD_ROMSIZE_KB_1024 diff --git a/src/mainboard/supermicro/x6dai_g/Makefile.inc b/src/mainboard/supermicro/x6dai_g/Makefile.inc index 455da185cf..495602d94b 100644 --- a/src/mainboard/supermicro/x6dai_g/Makefile.inc +++ b/src/mainboard/supermicro/x6dai_g/Makefile.inc @@ -19,6 +19,3 @@ ## ROMCCFLAGS=-mcpu=p4 -O2 -obj-$(CONFIG_HAVE_HARD_RESET) += reset.o -include $(src)/mainboard/Makefile.romccboard.inc - diff --git a/src/mainboard/supermicro/x6dhe_g/Kconfig b/src/mainboard/supermicro/x6dhe_g/Kconfig index 95b0c74096..4abac9ad67 100644 --- a/src/mainboard/supermicro/x6dhe_g/Kconfig +++ b/src/mainboard/supermicro/x6dhe_g/Kconfig @@ -7,6 +7,8 @@ config BOARD_SUPERMICRO_X6DHE_G select SOUTHBRIDGE_INTEL_PXHD select SUPERIO_WINBOND_W83627HF select ROMCC + select HAVE_HARD_RESET + select BOARD_HAS_HARD_RESET select HAVE_PIRQ_TABLE select HAVE_MP_TABLE select BOARD_ROMSIZE_KB_1024 diff --git a/src/mainboard/supermicro/x6dhe_g/Makefile.inc b/src/mainboard/supermicro/x6dhe_g/Makefile.inc index f900af66dc..3c5bdbde53 100644 --- a/src/mainboard/supermicro/x6dhe_g/Makefile.inc +++ b/src/mainboard/supermicro/x6dhe_g/Makefile.inc @@ -19,7 +19,4 @@ ## ROMCCFLAGS=-mcpu=p4 -O2 -obj-$(CONFIG_HAVE_HARD_RESET) += reset.o -include $(src)/mainboard/Makefile.romccboard.inc obj-y += ../../../drivers/generic/debug/debug_dev.o - diff --git a/src/mainboard/supermicro/x6dhe_g2/Kconfig b/src/mainboard/supermicro/x6dhe_g2/Kconfig index a456abea8a..6ad223aafb 100644 --- a/src/mainboard/supermicro/x6dhe_g2/Kconfig +++ b/src/mainboard/supermicro/x6dhe_g2/Kconfig @@ -7,6 +7,8 @@ config BOARD_SUPERMICRO_X6DHE_G2 select SOUTHBRIDGE_INTEL_PXHD select SUPERIO_NSC_PC87427 select ROMCC + select HAVE_HARD_RESET + select BOARD_HAS_HARD_RESET select HAVE_PIRQ_TABLE select HAVE_MP_TABLE select BOARD_ROMSIZE_KB_1024 diff --git a/src/mainboard/supermicro/x6dhe_g2/Makefile.inc b/src/mainboard/supermicro/x6dhe_g2/Makefile.inc index f900af66dc..3c5bdbde53 100644 --- a/src/mainboard/supermicro/x6dhe_g2/Makefile.inc +++ b/src/mainboard/supermicro/x6dhe_g2/Makefile.inc @@ -19,7 +19,4 @@ ## ROMCCFLAGS=-mcpu=p4 -O2 -obj-$(CONFIG_HAVE_HARD_RESET) += reset.o -include $(src)/mainboard/Makefile.romccboard.inc obj-y += ../../../drivers/generic/debug/debug_dev.o - diff --git a/src/mainboard/supermicro/x6dhr_ig/Kconfig b/src/mainboard/supermicro/x6dhr_ig/Kconfig index 56653adc9b..26aaeda1c6 100644 --- a/src/mainboard/supermicro/x6dhr_ig/Kconfig +++ b/src/mainboard/supermicro/x6dhr_ig/Kconfig @@ -7,6 +7,8 @@ config BOARD_SUPERMICRO_X6DHR_IG select SOUTHBRIDGE_INTEL_PXHD select SUPERIO_WINBOND_W83627HF select ROMCC + select HAVE_HARD_RESET + select BOARD_HAS_HARD_RESET select HAVE_PIRQ_TABLE select HAVE_MP_TABLE select BOARD_ROMSIZE_KB_1024 diff --git a/src/mainboard/supermicro/x6dhr_ig/Makefile.inc b/src/mainboard/supermicro/x6dhr_ig/Makefile.inc index 455da185cf..495602d94b 100644 --- a/src/mainboard/supermicro/x6dhr_ig/Makefile.inc +++ b/src/mainboard/supermicro/x6dhr_ig/Makefile.inc @@ -19,6 +19,3 @@ ## ROMCCFLAGS=-mcpu=p4 -O2 -obj-$(CONFIG_HAVE_HARD_RESET) += reset.o -include $(src)/mainboard/Makefile.romccboard.inc - diff --git a/src/mainboard/supermicro/x6dhr_ig2/Kconfig b/src/mainboard/supermicro/x6dhr_ig2/Kconfig index 126739be10..3702d16782 100644 --- a/src/mainboard/supermicro/x6dhr_ig2/Kconfig +++ b/src/mainboard/supermicro/x6dhr_ig2/Kconfig @@ -7,6 +7,8 @@ config BOARD_SUPERMICRO_X6DHR_IG2 select SOUTHBRIDGE_INTEL_PXHD select SUPERIO_WINBOND_W83627HF select ROMCC + select HAVE_HARD_RESET + select BOARD_HAS_HARD_RESET select HAVE_PIRQ_TABLE select HAVE_MP_TABLE select BOARD_ROMSIZE_KB_1024 diff --git a/src/mainboard/supermicro/x6dhr_ig2/Makefile.inc b/src/mainboard/supermicro/x6dhr_ig2/Makefile.inc index 455da185cf..495602d94b 100644 --- a/src/mainboard/supermicro/x6dhr_ig2/Makefile.inc +++ b/src/mainboard/supermicro/x6dhr_ig2/Makefile.inc @@ -19,6 +19,3 @@ ## ROMCCFLAGS=-mcpu=p4 -O2 -obj-$(CONFIG_HAVE_HARD_RESET) += reset.o -include $(src)/mainboard/Makefile.romccboard.inc - |