From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 17 May 2013 09:38:55 +0200 Subject: [U-Boot] [PATCH] cfi_flash: use CFI driver without a monitor program In-Reply-To: <1368772552-12784-1-git-send-email-yamada.m@jp.panasonic.com> References: <1368772552-12784-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <5195DE8F.20503@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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