summaryrefslogtreecommitdiff
path: root/board/dave/common
diff options
context:
space:
mode:
Diffstat (limited to 'board/dave/common')
-rw-r--r--board/dave/common/flash.c2
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;