summaryrefslogtreecommitdiff
path: root/board/sunxi/board.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2016-06-15 21:09:22 +0200
committerScott Wood <oss@buserror.net>2016-07-24 20:36:28 -0500
commit42bd19ce6c7bffef402ad6dd639c33686f485d29 (patch)
treeda265b8e0a026892f7ffeef27306ee58b232a4ca /board/sunxi/board.c
parent8df375b445c506f61722e20379ce645ce133e5de (diff)
downloadu-boot-imx-42bd19ce6c7bffef402ad6dd639c33686f485d29.zip
u-boot-imx-42bd19ce6c7bffef402ad6dd639c33686f485d29.tar.gz
u-boot-imx-42bd19ce6c7bffef402ad6dd639c33686f485d29.tar.bz2
mtd: nand: add common DT init code
These are already-documented common bindings for NAND chips. Let's handle them in nand_base. If NAND controller drivers need to act on this data before bringing up the NAND chip (e.g., fill out ECC callback functions, change HW modes, etc.), then they can do so between calling nand_scan_ident() and nand_scan_tail(). The original commit has been slightly reworked to use the fdtdec_xxx() helpers (instead of the of_xxxx() ones). Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'board/sunxi/board.c')
0 files changed, 0 insertions, 0 deletions