mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/arm/fsl-imx8mp: Add SNVS
SNVS contains an RTC which allows Linux to deal correctly with time. This is particularly useful when handling persistent storage which will be done in the next patch. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Bernhard Beschow <shentey@gmail.com> Message-id: 20250223114708.1780-7-shentey@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
86c2dff955
commit
487967bed6
3 changed files with 13 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
#include "cpu.h"
|
||||
#include "hw/char/imx_serial.h"
|
||||
#include "hw/intc/arm_gicv3_common.h"
|
||||
#include "hw/misc/imx7_snvs.h"
|
||||
#include "hw/misc/imx8mp_analog.h"
|
||||
#include "hw/misc/imx8mp_ccm.h"
|
||||
#include "qom/object.h"
|
||||
|
@ -36,6 +37,7 @@ struct FslImx8mpState {
|
|||
GICv3State gic;
|
||||
IMX8MPCCMState ccm;
|
||||
IMX8MPAnalogState analog;
|
||||
IMX7SNVSState snvs;
|
||||
IMXSerialState uart[FSL_IMX8MP_NUM_UARTS];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue