From e55ca7e2624988f82d6f77ddab54246621260c8b Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 1 Jul 2004 21:40:08 +0000 Subject: 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 --- board/dave/common/flash.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'board/dave/common/flash.c') 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; -- cgit v1.1