mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
spi: stm32_qspi: Align reg-names with kernel 4.12 RC1
Align qspi bindings following kernel dt-bindings Documentation/devicetree/bindings/mtd/stm32-quadspi.txt from kernel v4.12-rc1. Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
This commit is contained in:
parent
8c4592d278
commit
09e1772067
1 changed files with 2 additions and 2 deletions
|
@ -420,13 +420,13 @@ static int stm32_qspi_ofdata_to_platdata(struct udevice *bus)
|
|||
int ret;
|
||||
|
||||
ret = fdt_get_named_resource(blob, node, "reg", "reg-names",
|
||||
"QuadSPI", &res_regs);
|
||||
"qspi", &res_regs);
|
||||
if (ret) {
|
||||
debug("Error: can't get regs base addresses(ret = %d)!\n", ret);
|
||||
return -ENOMEM;
|
||||
}
|
||||
ret = fdt_get_named_resource(blob, node, "reg", "reg-names",
|
||||
"QuadSPI-memory", &res_mem);
|
||||
"qspi_mm", &res_mem);
|
||||
if (ret) {
|
||||
debug("Error: can't get mmap base address(ret = %d)!\n", ret);
|
||||
return -ENOMEM;
|
||||
|
|
Loading…
Reference in a new issue