On Mon, Nov 25, 2019 at 12:11 PM Simon Glass <s...@chromium.org> wrote: > > Add a simple PMC for sandbox to permit tests to run. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: > - Rename power-mgr uclass to acpi-pmc > - Tidy up Makefile rules to reduce duplication > > Changes in v2: None > > arch/Kconfig | 2 + > arch/sandbox/dts/sandbox.dtsi | 14 ++ > arch/sandbox/dts/test.dts | 14 ++ > arch/sandbox/include/asm/test.h | 1 + > drivers/Makefile | 1 + > drivers/power/acpi_pmc/Kconfig | 9 ++ > drivers/power/acpi_pmc/Makefile | 1 + > drivers/power/acpi_pmc/pmc_emul.c | 246 ++++++++++++++++++++++++++++++ > drivers/power/acpi_pmc/sandbox.c | 97 ++++++++++++ > test/dm/Makefile | 1 + > test/dm/pmc.c | 33 ++++ > 11 files changed, 419 insertions(+) > create mode 100644 drivers/power/acpi_pmc/pmc_emul.c > create mode 100644 drivers/power/acpi_pmc/sandbox.c > create mode 100644 test/dm/pmc.c >
Reviewed-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot