]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/spi/cadence_qspi.c
tpm: Move the I2C TPM code into one file
[karo-tx-uboot.git] / drivers / spi / cadence_qspi.c
index a75fc46e95dc5f060e0e8a6a3e89ef72e4dfb6ec..34a0f46a1ae0d5de7a43270acc9b87025d63950d 100644 (file)
@@ -309,6 +309,7 @@ static int cadence_spi_ofdata_to_platdata(struct udevice *bus)
        plat->tsd2d_ns = fdtdec_get_int(blob, subnode, "tsd2d-ns", 255);
        plat->tchsh_ns = fdtdec_get_int(blob, subnode, "tchsh-ns", 20);
        plat->tslch_ns = fdtdec_get_int(blob, subnode, "tslch-ns", 20);
+       plat->sram_size = fdtdec_get_int(blob, node, "sram-size", 128);
 
        debug("%s: regbase=%p ahbbase=%p max-frequency=%d page-size=%d\n",
              __func__, plat->regbase, plat->ahbbase, plat->max_hz,