]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: rawnand: stm32_fmc2: get resources from parent node
authorChristophe Kerello <christophe.kerello@st.com>
Fri, 31 Jul 2020 07:53:41 +0000 (09:53 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Thu, 13 Aug 2020 07:53:34 +0000 (09:53 +0200)
commit3611274a56734d61045edbd3835cdfc7fca0142f
tree162ffb89540fae16ccdaa04922b517e67c810688
parent5c40c00e777ed8859c673bf193d255604ec7a1c5
mtd: rawnand: stm32_fmc2: get resources from parent node

FMC2 EBI support has been added. Common resources (registers base
address and clock) can now be shared between the 2 drivers using
"st,stm32mp1-fmc2-nfc" compatible string. It means that the
common resources should now be found in the parent device when EBI
node is available.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
drivers/mtd/nand/raw/stm32_fmc2_nand.c