X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Flpc2292sodimm%2Fflash.c;h=a7e175d8edbcf3502322cf178bbb6eb98860cc02;hb=50bd0057ba8fceeb48533f8b1a652ccd0e170838;hp=449a768271cd6359f2185ebdc35fc6d1c9032d8d;hpb=afbc526336447a7357e9c82852df0377d09a8089;p=oweals%2Fu-boot.git diff --git a/board/lpc2292sodimm/flash.c b/board/lpc2292sodimm/flash.c index 449a768271..a7e175d8ed 100644 --- a/board/lpc2292sodimm/flash.c +++ b/board/lpc2292sodimm/flash.c @@ -28,7 +28,7 @@ #define SST_ADDR2 ((volatile ushort*)(SST_BASEADDR + (0x2AAA << 1))) -flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; +flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; extern int lpc2292_copy_buffer_to_flash(flash_info_t *, ulong); extern int lpc2292_flash_erase(flash_info_t *, int, int);