]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: cfi_flash: Use CONFIG_SYS_MONITOR_BASE only when defined
authorVignesh Raghavendra <vigneshr@ti.com>
Wed, 23 Oct 2019 08:00:00 +0000 (13:30 +0530)
committerStefan Roese <sr@denx.de>
Thu, 24 Oct 2019 07:48:53 +0000 (09:48 +0200)
commitd75eacf9b8a7562e8ea8c94138cd4ff4694f7c53
treeffcafb4fed5b98f8fd1bd85e174d6815cb3d1860
parent44510daea4d07fee736dd90411c4b503340b449e
mtd: cfi_flash: Use CONFIG_SYS_MONITOR_BASE only when defined

Make use of CONFIG_SYS_MONITOR_BASE only when available to avoid build
error when CONFIG_SYS_MONITOR_BASE is not defined.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c