projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test/py: fs: add fstest/unlink test
[oweals/u-boot.git]
/
drivers
/
spi
/
ti_qspi.c
diff --git
a/drivers/spi/ti_qspi.c
b/drivers/spi/ti_qspi.c
index 0e8411b4afa320d992e3e161c288470cd9dc12aa..2dcce66de0482fac825f44dd5b3fcf29ef85af38 100644
(file)
--- a/
drivers/spi/ti_qspi.c
+++ b/
drivers/spi/ti_qspi.c
@@
-1,9
+1,8
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* TI QSPI driver
*
* Copyright (C) 2013, Texas Instruments, Incorporated
/*
* TI QSPI driver
*
* Copyright (C) 2013, Texas Instruments, Incorporated
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
*/
#include <common.h>
@@
-574,8
+573,8
@@
static void *map_syscon_chipselects(struct udevice *bus)
return NULL;
}
return NULL;
}
- cell = fdt_getprop(gd->fdt_blob,
bus->of_offset, "syscon-chipselects"
,
- &len);
+ cell = fdt_getprop(gd->fdt_blob,
dev_of_offset(bus)
,
+
"syscon-chipselects",
&len);
if (len < 2*sizeof(fdt32_t)) {
debug("%s: offset not available\n", __func__);
return NULL;
if (len < 2*sizeof(fdt32_t)) {
debug("%s: offset not available\n", __func__);
return NULL;