From d1327ce9639645f84024ddd66d2b11f57619d8e6 Mon Sep 17 00:00:00 2001 From: "- supermicro/x6dhe_g/auto.c" <- supermicro/x6dhe_g/auto.c> Date: Sat, 24 Oct 2009 19:17:24 +0000 Subject: Major cleanups of the hard_reset() code and config in coreboot. - Drop unused "#object reset.o" entries. - Use CONFIG_HAVE_HARD_RESET for all "object reset.o" entries. - Drop dead/commented code, i.e. useless hard_reset() from: - supermicro/x6dhe_g/auto.c - supermicro/x6dhe_g2/auto.c - supermicro/x6dhe_g2/auto.updated.c - supermicro/x6dhr_ig/auto.c - supermicro/x6dhr_ig2/auto.c - digitallogic/msm586seg/auto.c - dell/s1850/auto.c - Add "obj-$(CONFIG_HAVE_HARD_RESET) += reset.o" to kconfig files of boards that actually have a reset.c file. Signed-off-by: Uwe Hermann Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4849 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/supermicro/x6dai_g/Config.lb | 2 +- src/mainboard/supermicro/x6dai_g/Makefile.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/supermicro/x6dai_g') diff --git a/src/mainboard/supermicro/x6dai_g/Config.lb b/src/mainboard/supermicro/x6dai_g/Config.lb index 9f94fb494e..17096f5da4 100644 --- a/src/mainboard/supermicro/x6dai_g/Config.lb +++ b/src/mainboard/supermicro/x6dai_g/Config.lb @@ -20,7 +20,7 @@ arch i386 end driver mainboard.o if CONFIG_GENERATE_MP_TABLE object mptable.o end if CONFIG_GENERATE_PIRQ_TABLE object irq_tables.o end -object reset.o +if CONFIG_HAVE_HARD_RESET object reset.o end ## ## Romcc output diff --git a/src/mainboard/supermicro/x6dai_g/Makefile.inc b/src/mainboard/supermicro/x6dai_g/Makefile.inc index e697040c94..455da185cf 100644 --- a/src/mainboard/supermicro/x6dai_g/Makefile.inc +++ b/src/mainboard/supermicro/x6dai_g/Makefile.inc @@ -19,6 +19,6 @@ ## ROMCCFLAGS=-mcpu=p4 -O2 - +obj-$(CONFIG_HAVE_HARD_RESET) += reset.o include $(src)/mainboard/Makefile.romccboard.inc -- cgit v1.2.3