From 37bdb87fab34f772d17c694d3969fd177c4adf57 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 27 Feb 2010 08:39:04 +0000 Subject: - 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 Acked-by: Myles Watson Acked-by: Peter Stuge Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5168 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/digitallogic/adl855pc/Makefile.inc | 2 -- src/mainboard/digitallogic/msm586seg/Makefile.inc | 2 -- src/mainboard/digitallogic/msm800sev/Makefile.inc | 10 ---------- 3 files changed, 14 deletions(-) delete mode 100644 src/mainboard/digitallogic/msm800sev/Makefile.inc (limited to 'src/mainboard/digitallogic') diff --git a/src/mainboard/digitallogic/adl855pc/Makefile.inc b/src/mainboard/digitallogic/adl855pc/Makefile.inc index 33d10100d7..accacee2ee 100644 --- a/src/mainboard/digitallogic/adl855pc/Makefile.inc +++ b/src/mainboard/digitallogic/adl855pc/Makefile.inc @@ -1,3 +1 @@ ROMCCFLAGS := -mcpu=p3 -O -include $(src)/mainboard/Makefile.romccboard.inc - diff --git a/src/mainboard/digitallogic/msm586seg/Makefile.inc b/src/mainboard/digitallogic/msm586seg/Makefile.inc index b46377a206..76784015ba 100644 --- a/src/mainboard/digitallogic/msm586seg/Makefile.inc +++ b/src/mainboard/digitallogic/msm586seg/Makefile.inc @@ -1,3 +1 @@ ROMCCFLAGS := -mcpu=i386 -O -include $(src)/mainboard/Makefile.romccboard.inc - diff --git a/src/mainboard/digitallogic/msm800sev/Makefile.inc b/src/mainboard/digitallogic/msm800sev/Makefile.inc deleted file mode 100644 index 3e54d3be91..0000000000 --- a/src/mainboard/digitallogic/msm800sev/Makefile.inc +++ /dev/null @@ -1,10 +0,0 @@ -obj-y += mainboard.o - -# Needed by irq_tables and mptable and acpi_tables. -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 - - -- cgit v1.2.3