Re: [U-Boot] [PATCH 4/4] add icnova sam9g45 board

Dear Marcel Janssen,
Hi Remy and Reinhard,
To make it easy for you: It is up to you if you choose ' rework_110202'
...
It looks like if at91sam9g45.h has not been updated. Is that right ? If so, should all be changed to ATMEL_ID and ATMEL_BASE ?
That is correct. Only 9260/1/3 are reworked so far.
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 ;)
Best Regards, Reinhard

On Tuesday, February 15, 2011 01:00:50 am Reinhard Meyer wrote:
Dear Marcel Janssen,
Hi Remy and Reinhard,
To make it easy for you: It is up to you if you choose ' rework_110202'
...
It looks like if at91sam9g45.h has not been updated. Is that right ? If so, should all be changed to ATMEL_ID and ATMEL_BASE ?
That is correct. Only 9260/1/3 are reworked so far.
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 ?
regards, Marcel

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
participants (2)
-
Marcel Janssen
-
Reinhard Meyer