From 53815e1561365fa2ed512189b73e386cd9c7be96 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sun, 30 Apr 2017 12:47:03 +0200 Subject: [PATCH] nb/intel/pineview/raminit: Remove very long delays MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These delays, adding up to 600 ms, don’t seem to be needed, so remove them. TESTED on d510mo, boots fine without. Change-Id: If089d6677fe95b086eeb00540acfbb66fa2e1c47 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/19505 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Nico Huber Reviewed-by: Philipp Deppenwiese Reviewed-by: Damien Zammit --- src/northbridge/intel/pineview/raminit.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/northbridge/intel/pineview/raminit.c b/src/northbridge/intel/pineview/raminit.c index c7c59ec8ba..c811d380c7 100644 --- a/src/northbridge/intel/pineview/raminit.c +++ b/src/northbridge/intel/pineview/raminit.c @@ -2577,12 +2577,9 @@ void sdram_initialize(int boot_path, const u8 *spd_addresses) /* Enable HPET */ enable_hpet(); - hpet_udelay(300000); MCHBAR16(0xc1c) = MCHBAR16(0xc1c) | (1 << 15); - hpet_udelay(100000); - sdram_clk_crossing(&si); sdram_checkreset(); @@ -2599,8 +2596,6 @@ void sdram_initialize(int boot_path, const u8 *spd_addresses) PRINTK_DEBUG("Done dlltiming\n"); } - hpet_udelay(200000); - if (si.boot_path != BOOT_PATH_RESET) { sdram_rcomp(&si); PRINTK_DEBUG("Done RCOMP\n");