]> git.sur5r.net Git - u-boot/commit
microblaze: Avoid compile error on systems without cfi flash
authorStephan Linz <linz@li-pro.net>
Tue, 26 Jun 2012 22:28:25 +0000 (00:28 +0200)
committerMichal Simek <monstr@monstr.eu>
Wed, 27 Jun 2012 08:18:20 +0000 (10:18 +0200)
commit1fe7e8fa48931898ef2e35a913f56cef02f327a4
treefe462397b42a1d9b1dfb5746076dd419ec037e5d
parent2629d63efc2ed9c6a02dd6605a0a5cb62f4e278d
microblaze: Avoid compile error on systems without cfi flash

Use XILINX_FLASH_START to set/unset FLASH and RAMENV.

Error:
board.c: In function 'board_init':
board.c:134: error: 'XILINX_FLASH_START' undeclared (first use in this function)
board.c:134: error: (Each undeclared identifier is reported only once
board.c:134: error: for each function it appears in.)

Signed-off-by: Stephan Linz <linz@li-pro.net>
Signed-off-by: Michal Simek <monstr@monstr.eu>
include/configs/microblaze-generic.h