RE: EBH with OneNAND doesn't work

zhao, forrest
2005-12-21T07:45:51Z

On Wed, 2005-12-21 at 16:24 +0900, Kyungmin Park wrote:
> Hi
>
> As you know the OneNAND has only 16bit bandwidth
> When you access OneNAND with 8bit bandwidth, OneNAND can't work correctly
>
> In the previous JFFS2 w/o EBH, there's no problem with OOB.
> But JFFS2 w/ EBH is different. we have to handle byte access in OneNAND
>
> p.s, Does it need to check byte access in 'offset', I never see that case.

I think it's OK not checking "offset" as long as the free_oob
exported by OneNAND driver is 16-bit-aligned. EBH is stored only
from the start of a free_oob area.
But not sure if other application will start to store data from
arbitrary offset within a free_oob area in the future.

Thanks,
Forrest