Fix OneNAND erase command
authorKyungmin Park <kmpark@infradead.org>
Mon, 31 Mar 2008 01:40:19 +0000 (10:40 +0900)
committerWolfgang Denk <wd@denx.de>
Mon, 14 Apr 2008 06:10:39 +0000 (23:10 -0700)
commita9da2b41079d230db3a5641625311983f85ce1fb
treef679cbdd19f5b3e91472c105ebd520c1e56f092b
parent61525f2ffa156665a66908fda47dbf29d65ea579
Fix OneNAND erase command

It mis-calculates the block address.
Also fix DECLARE_GLOBAL_DATA_PTR in env_onenand.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
common/cmd_onenand.c
common/env_onenand.c