]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: nand: add onfi_* stubs in case ONFI_DETECTION is disabled
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 21 Nov 2017 17:38:12 +0000 (02:38 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 28 Nov 2017 15:28:57 +0000 (00:28 +0900)
commit2f31987260b628e6d782347dd43c17aca8831b3e
treed50d08272076d567092174f6f1ad2f91045627e2
parent3ae7af27bf77b57db95e52c9f26502a3a9a49622
mtd: nand: add onfi_* stubs in case ONFI_DETECTION is disabled

Add stubs to the header in case CONFIG_SYS_NAND_ONFI_DETECTION is
disabled.  This is much easier than adding around #ifdef to the
caller side.

Also, I removed the #ifdef around onfi_params.  In Linux, onfi_params
and jedec_params are unified as union.  It will be the right thing
to do.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/linux/mtd/nand.h