
On Thu, Oct 23, 2008 at 5:42 PM, Guennadi Liakhovetski lg@denx.de wrote:
On Thu, 23 Oct 2008, Kyungmin Park wrote:
In OneNAND board, it should be set as 0x1002
Sorry, do not understand what "it." If you mean the MEM_SYS_CFG then I also don't understand this. As I quoted from the datasheet above, bit 1 set to 0 (0 << 1) is for _both_ - NAND or OneNAND. You suggest to set it to 1, which is SROMC CS2. And (1 << 12) is the data bus width, which also doesn't seem to be directly related to the NAND / OneNAND selection. Or did you mean another register?
Right, I write wrong value, MEM_SYS_CFG has 0x1000. In OneNAND booting mode, MP0_CS_CFG[1] and MP0_CS_CFG[3] are ignored.
It's not easy to describe since it depends on hardware configuration. However, there are not too much configurations
S3C64XX_MEM_SYS_CFG_NAND 0x0008 S3C64XX_MEM_SYS_CFG_ONENAND 0x1000
????? I asked above what the bus width has to do with OneNAND selection, you didn't reply.
OneNAND has always 16-bit butwidth. there's no exception.
S3C64XX_MEM_SYS_CFG_MOVINAND 0x????
I don't tested boot from MMC. So I don't know which value is right
Thank you, Kyungmin Park