mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add todo
This commit is contained in:
parent
f204fd4c54
commit
92427822a1
1 changed files with 4 additions and 0 deletions
|
|
@ -86,6 +86,10 @@ pub fn delay(quantum: usize) {
|
||||||
|
|
||||||
#[cfg(all(feature = "cramium-soc", not(feature = "verilator-only")))]
|
#[cfg(all(feature = "cramium-soc", not(feature = "verilator-only")))]
|
||||||
pub fn early_init() -> u32 {
|
pub fn early_init() -> u32 {
|
||||||
|
// TODO: pull in the EMA settings from nto-tests
|
||||||
|
// *((volatile uint32_t*)0x40014000) = 0x3; //sramcfg.cach:ema[2:0]=0x4 (default for 0.8V), 0x3 for 0.9V
|
||||||
|
// *((volatile uint32_t*)0x40014014) = 0x1; //sramcfg.vexram:ema[2:0]=0x4 (default for 0.8V), 0x1 for 0.9V
|
||||||
|
|
||||||
// Set up the initial clocks. This is done as a "poke array" into a table of addresses.
|
// Set up the initial clocks. This is done as a "poke array" into a table of addresses.
|
||||||
// Why? because this is actually how it's done for the chip verification code. We can
|
// Why? because this is actually how it's done for the chip verification code. We can
|
||||||
// make this nicer and more abstract with register meanings down the road, if necessary,
|
// make this nicer and more abstract with register meanings down the road, if necessary,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue