From 423ec28bb8c20d9dfa68faef50699772899ab64d Mon Sep 17 00:00:00 2001 From: Strahinja Jankovic <strahinjapjankovic@gmail.com> Date: Mon, 26 Dec 2022 23:02:57 +0100 Subject: hw/misc: Allwinner-A10 Clock Controller Module Emulation During SPL boot several Clock Controller Module (CCM) registers are read, most important are PLL and Tuning, as well as divisor registers. This patch adds these registers and initializes reset values from user's guide. Signed-off-by: Strahinja Jankovic <strahinja.p.jankovic@gmail.com> Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com> Message-id: 20221226220303.14420-2-strahinja.p.jankovic@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org> --- hw/misc/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/misc/meson.build') diff --git a/hw/misc/meson.build b/hw/misc/meson.build index ed0598dc9e..c828dbeb26 100644 --- a/hw/misc/meson.build +++ b/hw/misc/meson.build @@ -38,6 +38,7 @@ subdir('macio') softmmu_ss.add(when: 'CONFIG_IVSHMEM_DEVICE', if_true: files('ivshmem.c')) +softmmu_ss.add(when: 'CONFIG_ALLWINNER_A10_CCM', if_true: files('allwinner-a10-ccm.c')) softmmu_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-ccu.c')) specific_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-cpucfg.c')) softmmu_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-dramc.c')) -- cgit v1.2.3