On Monday 11 January 2010, Peter Korsgaard wrote:
> Identical to the existing 2412/2443 support except for the base address
> and NFCONF value (bit 2 is reserved and should be written as 1 ref UM).
> 
> Tested on a s3c6410 board, but controller is identical in 6400/6410
> except for 8bit MLC ECC support in 6410 which isn't supported by the
> driver.
> 
> Signed-off-by: Peter Korsgaard <jac...@sunsite.dk>
> ---
>  doc/openocd.texi                        |    3 ++-
>  src/flash/nand/Makefile.am              |    1 +
>  src/flash/nand/driver.c                 |    2 ++
>  src/flash/nand/{s3c2443.c => s3c6400.c} |   28 ++++++++++++----------------

Did you really intend to remove the s3c2443 driver?

If it's as similar as you say, I'd suggest just adding hardware-specific
state (and code) to handle the difference ... that is, keep reusing the
same core code.


>  4 files changed, 17 insertions(+), 17 deletions(-)
>  copy src/flash/nand/{s3c2443.c => s3c6400.c} (81%)


_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to