]> git.dujemihanovic.xyz Git - u-boot.git/commit
flash: compile common/flash.c iif CONFIG_MTD_NO_FLASH is enabled
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 11 Feb 2017 13:43:55 +0000 (22:43 +0900)
committerTom Rini <trini@konsulko.com>
Sun, 12 Feb 2017 19:30:31 +0000 (14:30 -0500)
commit554c73c0256c9e22af1b89e842a310b73b5eb657
tree9c539305a39a0675d63fe31ad78c1d3f03e081df
parente856bdcfb49291d30b19603fc101bea096c48196
flash: compile common/flash.c iif CONFIG_MTD_NO_FLASH is enabled

The whole of common/flash.c is guarded by #if defined() ... #endif.
Move the conditional to common/Makefile.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
common/Makefile
common/flash.c