Small comment updates + cleanup
This commit is contained in:
@@ -171,11 +171,10 @@ static int copy(void)
|
|||||||
|
|
||||||
dputs("CMD18");
|
dputs("CMD18");
|
||||||
|
|
||||||
kprintf("LOADING 0x%lxB PAYLOAD\r\n", PAYLOAD_SIZE_B);
|
kprintf("LOADING 0x%xB PAYLOAD\r\n", PAYLOAD_SIZE_B);
|
||||||
kprintf("LOADING ");
|
kprintf("LOADING ");
|
||||||
|
|
||||||
// TODO: Can this be sped up?
|
// TODO: Speed up SPI freq. (breaks between these two values)
|
||||||
// John Wright: Let's go slow until we get this working
|
|
||||||
//REG32(spi, SPI_REG_SCKDIV) = (F_CLK / 16666666UL);
|
//REG32(spi, SPI_REG_SCKDIV) = (F_CLK / 16666666UL);
|
||||||
REG32(spi, SPI_REG_SCKDIV) = (F_CLK / 5000000UL);
|
REG32(spi, SPI_REG_SCKDIV) = (F_CLK / 5000000UL);
|
||||||
if (sd_cmd(0x52, BBL_PARTITION_START_SECTOR, 0xE1) != 0x00) {
|
if (sd_cmd(0x52, BBL_PARTITION_START_SECTOR, 0xE1) != 0x00) {
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ class BoomVCU118Config extends Config(
|
|||||||
new chipyard.MegaBoomConfig)
|
new chipyard.MegaBoomConfig)
|
||||||
|
|
||||||
class WithFPGAFrequency(fMHz: Double) extends Config(
|
class WithFPGAFrequency(fMHz: Double) extends Config(
|
||||||
new chipyard.config.WithPeripheryBusFrequency(fMHz) ++
|
new chipyard.config.WithPeripheryBusFrequency(fMHz) ++ // assumes using PBUS as default freq.
|
||||||
new chipyard.config.WithMemoryBusFrequency(fMHz)
|
new chipyard.config.WithMemoryBusFrequency(fMHz)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user