Tor Krill wrote: > Im working on adding support for our board to u-boot. > > I use legacy flash mode for our boot-flash. I however have some problems > with it. > > When using jedec probe to identify our flash. Im unable to do so with our > 16bit device-id. In my opinion it seems like this actually wont work(?) > > cmdset_amd_read_jedec_ids uses _one_ flash_read_uchar call to read out > the device id(, if its not an amd extended one). The only way i could > get this to work with our flash was to only put the lower 8bit in the > dev_id field when adding an entry to the jedec_table. > Hm - right. You are probably the first one to use that code on a 16-bit non-CFI flash - for 16-bit flashs, the read will need to be changed, but I am not sure how exactly - I think we may need separate code depending on info->chipwidth, because 8-bit flashs only have an 8-bit ID. > Further on it seems like CFI_CMDSET_AMD_LEGACY is unsupported in > flash_write_cfibuffer. > Right. Setting info->buffer_size = 1 in jedec_flash.c/fill_info() should make sure that part of code is never executed.
cu Michael ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/u-boot-users
