Skip to content
Commit 80924cc1 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 21d4a3ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment