]> git.sur5r.net Git - u-boot/blobdiff - drivers/spi/tegra20_sflash.c
imx_common: detect USB serial downloader reliably
[u-boot] / drivers / spi / tegra20_sflash.c
index 299e1b44faa43e5515f3783a79ebcb9c56b86a7d..e70210d7abf86949e8942132caaef3eaae3be7a1 100644 (file)
@@ -91,7 +91,7 @@ static int tegra20_sflash_ofdata_to_platdata(struct udevice *bus)
        int node = dev_of_offset(bus);
 
        plat->base = devfdt_get_addr(bus);
-       plat->periph_id = clock_decode_periph_id(blob, node);
+       plat->periph_id = clock_decode_periph_id(bus);
 
        if (plat->periph_id == PERIPH_ID_NONE) {
                debug("%s: could not decode periph id %d\n", __func__,