[U-Boot] [PATCH] cfi_flash: use CFI driver without a monitor program

Stefan Roese sr at denx.de
Fri May 17 09:38:55 CEST 2013


On 05/17/2013 08:35 AM, Masahiro Yamada wrote:
> When CONFIG_SYS_MONITOR_BASE is not defined
> and CONFIG_SYS_FLASH_BASE is defined as zero,
> compile failed with an error.
> 
> We can work around this problem by defining
> CONFIG_SYS_MONITOR_BASE as any value
> even though a monitor program is not used.
> But this is not a correct way.

CONFIG_SYS_MONITOR_BASE should be defined to the value, where the U-Boot
image (monitor) is located.

> Using CFI driver should not depend on the use of
> a monitor program.

Could you please explain, what a "monitor program" is?

Is it correct to assume, that you are using the CFI NOR flash driver,
but have U-Boot located in some other location (NAND, MMC...)?

Thanks,
Stefan



More information about the U-Boot mailing list