summaryrefslogtreecommitdiff
path: root/configs/sbc8548_PCI_33_PCIE_defconfig
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2019-01-23 18:12:48 +0100
committerPatrice Chotard <patrice.chotard@st.com>2019-06-06 17:40:14 +0200
commite6b7afe737f95f61f347a340acdda1a48d29ed50 (patch)
treebd8cf0476527d49abd3b517b9c1bfce061eb272f /configs/sbc8548_PCI_33_PCIE_defconfig
parent8f24b1a4a97cbeb8f2756be62bd524f166423406 (diff)
mtd: Fix get_mtdparts()
When ENV_IS_IN_UBI is enable, get_mtdparts is called before relocation. During first get_mtdparts() call, mtdparts is not available in environment, it can be retrieved by calling board_mtdparts_default(), but following env_set() do nothing as we are before relocation. Finally mtdparts is still not available in environment. At second get_mtdparts() call, use_defaults is false, but mtdparts is still not in environment and is NULL. Remove use_defaults bool, only mtdparts criteria is useful. Fixes: commit 5ffcd50612f6 ("mtd: Use default mtdparts/mtids when not defined in the environment") Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'configs/sbc8548_PCI_33_PCIE_defconfig')
0 files changed, 0 insertions, 0 deletions