From: Reinhard Meyer Date: Tue, 15 Feb 2011 22:04:38 +0100 Subject: [U-Boot] [PATCH 4/4] add icnova sam9g45 board In-Reply-To: <201102152146.18769.korgull@home.nl> References: <1297523262-19811-1-git-send-email-korgull@home.nl> <201102142327.34521.korgull@home.nl> <4D59C232.9030603@emk-elektronik.de> <201102152146.18769.korgull@home.nl> Message-ID: <4D5AEA66.70208@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Marcel Janssen, > On Tuesday, February 15, 2011 01:00:50 am Reinhard Meyer wrote: >> If someone would rework the 9g45 in the spirit of the 9260 it would be >> great. Please as a separate patch. Same goes for the other SoCs ;) > > I did most of that. I just hit this : > > drivers/mtd/cfi_flash.c:576: undefined reference to `reset_timer' > > Any idea how to fix it ? Basically the same way I fixed nand_base.c a while ago: void nand_wait_ready(struct mtd_info *mtd) { struct nand_chip *chip = mtd->priv; u32 timeo = (CONFIG_SYS_HZ * 20) / 1000; u32 time_start; time_start = get_timer(0); /* wait until command is processed or timeout occures */ while (get_timer(time_start) < timeo) { if (chip->dev_ready) if (chip->dev_ready(mtd)) break; } } Best Regards, Reinhard