]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: rawnand: denali: set SPARE_AREA_SKIP_BYTES based on DT compatible
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 29 Jan 2020 15:55:55 +0000 (00:55 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 31 Jan 2020 16:14:32 +0000 (01:14 +0900)
commit2d1beec68ee2e1f3f39f63eea3748b01fd637a7f
tree333a416c4a358f5324cb0a44023026f5f9a5a838
parent38296191e76348462412befeac1dde280ee65e02
mtd: rawnand: denali: set SPARE_AREA_SKIP_BYTES based on DT compatible

Currently, the denali NAND driver in U-Boot configures the
SPARE_AREA_SKIP_BYTES based on the CONFIG option.

Recently, Linux kernel merged a patch that associates the proper
value for this register with the DT compatible string.

Do likewise in U-Boot too.

The denali_spl.c still uses CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mtd/nand/raw/denali.c
drivers/mtd/nand/raw/denali_dt.c