]> git.dujemihanovic.xyz Git - u-boot.git/commit
cfi_flash: give default CONFIG_SYS_MAX_FLASH_SECT in flash.h
authorThomas Chou <thomas@wytron.com.tw>
Sat, 31 Oct 2015 03:09:36 +0000 (11:09 +0800)
committerStefan Roese <sr@denx.de>
Mon, 30 Nov 2015 12:00:00 +0000 (13:00 +0100)
commit5aeeabf43c27b1bf4b3bb86e2b713dd98801df63
tree629e68c0192401576ecf262f914c5ef1013b82af
parentfa8883a1e39a20e72aaa5093af0c80062cb95757
cfi_flash: give default CONFIG_SYS_MAX_FLASH_SECT in flash.h

Give default CONFIG_SYS_MAX_FLASH_SECT in flash.h, so that
the header can be included regardless of the present of flash.
The value 512 is the most used.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Stefan Roese <sr@denx.de>
include/flash.h