]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: rawnand: brcmnand: Refactored code to introduce helper functions
authorKamal Dasu <kdasu.kdev@gmail.com>
Sat, 11 Feb 2023 15:29:00 +0000 (16:29 +0100)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Mon, 27 Feb 2023 15:29:24 +0000 (16:29 +0100)
commit79d50f38b2c24f65e703e5d0e4d063e43e923324
tree9d93c4ccd973cd46ac0dac256d09102e68821ce4
parentcfb82f7c123e411b8cfb5d58c2c666f54cb9b66a
mtd: rawnand: brcmnand: Refactored code to introduce helper functions

Refactored NAND ECC and CMD address configuration code to use helper
functions.

Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
[Ported to U-Boot from the Linux kernel]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Acked-by: William Zhang <william.zhang@broadcom.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/brcmnand/brcmnand.c