[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux]U-boot hang in function flash_detect_cfi(...), need your help.



Hello all:

The function  flash_readarray_mode(...) of fs-boot set  an value
0xFFFFFFFF, What is it for ?

/*!
 * This routine send a command to the CUI
 * to put the FLASH into Read Array mode.
 *
 * @param  addr - Memory address of FLASH device
 *
 * @return  none
 */
static void flash_readarray_mode(unsigned long flash_addr)
{

	/*
	 * We assume it is all CFI FLASH
	 * Write 32-bit to take care off all flash
	 * configurations.
	 */
	*((volatile unsigned long *)(flash_addr)) = 0xFFFFFFFF;
}

I am trying to initialize a flash during u-boot phase, but u-boot hang
in function flash_detect_cfi(...).
This flash works well when I use it as the flash memory to boot u-boot
and the kernel.

Should anyone help me about initialization of an flash ?
Thanks for your help.

Rgs.
Childhood.
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/