Small comment updates + cleanup

This commit is contained in:
Abraham Gonzalez
2021-04-03 12:55:27 -07:00
parent be13781a1c
commit 985faa4c8e
2 changed files with 3 additions and 4 deletions

View File

@@ -171,11 +171,10 @@ static int copy(void)
dputs("CMD18");
kprintf("LOADING 0x%lxB PAYLOAD\r\n", PAYLOAD_SIZE_B);
kprintf("LOADING 0x%xB PAYLOAD\r\n", PAYLOAD_SIZE_B);
kprintf("LOADING ");
// TODO: Can this be sped up?
// John Wright: Let's go slow until we get this working
// TODO: Speed up SPI freq. (breaks between these two values)
//REG32(spi, SPI_REG_SCKDIV) = (F_CLK / 16666666UL);
REG32(spi, SPI_REG_SCKDIV) = (F_CLK / 5000000UL);
if (sd_cmd(0x52, BBL_PARTITION_START_SECTOR, 0xE1) != 0x00) {

View File

@@ -69,7 +69,7 @@ class BoomVCU118Config extends Config(
new chipyard.MegaBoomConfig)
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)
)