[U-Boot] [PATCH] [ARM] Move machine specific code to board at s3c64xx

Guennadi Liakhovetski lg at denx.de
Thu Oct 23 10:42:22 CEST 2008


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.

> S3C64XX_MEM_SYS_CFG_MOVINAND 0x????

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.

DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de


More information about the U-Boot mailing list