add DDRC into singleton
This commit is contained in:
@@ -41,6 +41,7 @@ pub struct PsPeripherals {
|
||||
pub gicc: gic::MmioGicc<'static>,
|
||||
pub gicd: gic::MmioGicd<'static>,
|
||||
pub l2c: l2_cache::MmioL2Cache<'static>,
|
||||
pub ddrc: ddrc::MmioDdrController<'static>,
|
||||
pub uart_0: uart::MmioUart<'static>,
|
||||
pub uart_1: uart::MmioUart<'static>,
|
||||
pub spi_0: spi::MmioSpi<'static>,
|
||||
@@ -77,6 +78,7 @@ impl PsPeripherals {
|
||||
gicc: gic::Gicc::new_mmio_fixed(),
|
||||
gicd: gic::Gicd::new_mmio_fixed(),
|
||||
l2c: l2_cache::L2Cache::new_mmio_fixed(),
|
||||
ddrc: ddrc::DdrController::new_mmio_fixed(),
|
||||
uart_0: uart::Uart::new_mmio_fixed_0(),
|
||||
uart_1: uart::Uart::new_mmio_fixed_1(),
|
||||
gtc: gtc::Gtc::new_mmio_fixed(),
|
||||
|
||||
Reference in New Issue
Block a user