mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
turn on the AV generator in loader
the kernel should rely on the AV generator for random numbers, and so it should be on and operational by the time the kernel boots
This commit is contained in:
parent
04d46b9549
commit
dab13d5b70
1 changed files with 2 additions and 1 deletions
|
|
@ -103,7 +103,8 @@ pub fn early_init_hw() -> u32 {
|
|||
bao1x_hal::board::setup_camera_pins(&iox);
|
||||
bao1x_hal::board::setup_kb_pins(&iox);
|
||||
bao1x_hal::board::setup_oled_power_pin(&iox);
|
||||
bao1x_hal::board::setup_trng_power_pin(&iox);
|
||||
let trng_power = bao1x_hal::board::setup_trng_power_pin(&iox);
|
||||
iox.set_gpio_pin(trng_power.0, trng_power.1, bao1x_api::IoxValue::High);
|
||||
|
||||
use bao1x_hal::udma::GlobalConfig;
|
||||
use ux_api::minigfx::FrameBuffer;
|
||||
|
|
|
|||
Loading…
Reference in a new issue