Hi Stefano, ... > > I think that the BOOT_FROM command can be removed, > right? > > No, we can't if the processor boots from OneNand device. > According to > the manual,
Yes, it is still the same binary, but just needs a different offset. > the offset must be set to 0x100 instead of 0x400. > > > > > We can flash the same binary on a SD or NAND flash. > > Correct,but there is still the OneNand case. BTW, I don't see the following offset defines used anywhere in the code: +#define FLASH_OFFSET_STANDARD 0x400 +#define FLASH_OFFSET_NAND FLASH_OFFSET_STANDARD +#define FLASH_OFFSET_SD FLASH_OFFSET_STANDARD +#define FLASH_OFFSET_SPI FLASH_OFFSET_STANDARD +#define FLASH_OFFSET_ONENAND 0x100 Regards, Fabio Estevam _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot