X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmain%2Fscala%2Fdevices%2Fspi%2FSPIPeriphery.scala;h=595ffc3527e18b08ccd884b7d15ec349771fb4e5;hb=70c25846b8290376fd3851cb896d2eb91f2bb5b1;hp=6e586473bb0c021819b07804f6944a204145ca19;hpb=a814cba04ffc83b0715339ee650eac358d7852b8;p=sifive-blocks.git diff --git a/src/main/scala/devices/spi/SPIPeriphery.scala b/src/main/scala/devices/spi/SPIPeriphery.scala index 6e58647..595ffc3 100644 --- a/src/main/scala/devices/spi/SPIPeriphery.scala +++ b/src/main/scala/devices/spi/SPIPeriphery.scala @@ -43,7 +43,7 @@ trait HasPeripherySPIFlash extends HasPeripheryBus with HasInterruptBus { qspi.rnode := pbus.toVariableWidthSlaves qspi.fnode := TLFragmenter(1, pbus.blockBytes)( - TLBuffer(BufferParams(8), BufferParams.none)( + TLBuffer(BufferParams(params.fBufferDepth), BufferParams.none)( pbus.toFixedWidthSlaves)) ibus.fromSync := qspi.intnode qspi