diff options
author | wdenk <wdenk> | 2004-07-01 21:40:08 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-07-01 21:40:08 +0000 |
commit | e55ca7e2624988f82d6f77ddab54246621260c8b (patch) | |
tree | 4ad4972b23b77b712d1cc0d4894dadad17a811c9 /board/dave/common/flash.c | |
parent | 93f6a6771ba04b217e4c8bbca9196fd16e364479 (diff) | |
download | u-boot-imx-e55ca7e2624988f82d6f77ddab54246621260c8b.zip u-boot-imx-e55ca7e2624988f82d6f77ddab54246621260c8b.tar.gz u-boot-imx-e55ca7e2624988f82d6f77ddab54246621260c8b.tar.bz2 |
Patch by Andrea Marson, 11 Jun 2004:
Update for PPChameleon board:
- support for SysClk @ 25MHz
- support for Silicon Motion SM712 VGA controller
- some clean ups
Diffstat (limited to 'board/dave/common/flash.c')
-rw-r--r-- | board/dave/common/flash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/dave/common/flash.c b/board/dave/common/flash.c index 446defc..bf0f2bf 100644 --- a/board/dave/common/flash.c +++ b/board/dave/common/flash.c @@ -220,6 +220,8 @@ static ulong flash_get_size (vu_long *addr, flash_info_t *info) ulong base = (ulong)addr; volatile CFG_FLASH_WORD_SIZE *addr2 = (CFG_FLASH_WORD_SIZE *)addr; + debug("[%s, %d] Entering ...\n", __FUNCTION__, __LINE__); + /* Write auto select command: read Manufacturer ID */ addr2[CFG_FLASH_ADDR0] = (CFG_FLASH_WORD_SIZE)0x00AA00AA; addr2[CFG_FLASH_ADDR1] = (CFG_FLASH_WORD_SIZE)0x00550055; |