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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot