• M
    mtd: nand: denali: allow to override revision number · e7beeeec
    Masahiro Yamada 提交于
    Commit 271707b1 ("mtd: nand: denali: max_banks calculation
    changed in revision 5.1") added a revision check to support the
    new max_banks encoding.  Its git-log states "The encoding of
    max_banks changed in Denali revision 5.1".
    
    There are exceptional cases, for example, the revision register on
    some UniPhier SoCs says the IP is 5.0 but the max_banks is encoded
    in the new format.
    
    This IP updates the resister specification from time to time (often
    breaking the backward compatibility), but the revision number is not
    incremented correctly.
    
    The max_banks is not only the case that needs revision checking.
    Let's allow to override an incorrect revision number.
    Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
    Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
    e7beeeec
denali.h 10.0 KB