Use the SYS_INIT() mechanism to invoke the sys_rand32_init() function in random drivers that require an initializer. Remove all empty sys_rand32_init() instances. The existing explicit sys_rand32_init() function runs immediately after PRE_KERNEL_2 before stack canaries are initialized. In order to get equivalent behaviour with sys_rand32_init() we set SYS_INIT() to initialize the random drivers at the lowest priority of PRE_KERNEL_2. Change-Id: I4521e44daac806bc4eef01ce7fdf2ba5367e0587 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com> |
||
|---|---|---|
| .. | ||
| bluetooth | ||
| clock_control | ||
| console | ||
| ieee802154 | ||
| pci | ||
| serial | ||
| spi | ||
| usb | ||
| ioapic.h | ||
| k6x_mpu.h | ||
| k6x_pmc.h | ||
| k20_mcg.h | ||
| k20_pcr.h | ||
| k20_sim.h | ||
| k20_watchdog.h | ||
| loapic.h | ||
| mvic.h | ||
| rand32.h | ||
| sysapic.h | ||
| system_timer.h | ||