On Sat, Dec 7, 2019 at 12:47 PM Simon Glass <[email protected]> wrote:
>
> Add a simple PMC for sandbox to permit tests to run.
>
> Signed-off-by: Simon Glass <[email protected]>
> Reviewed-by: Bin Meng <[email protected]>
> ---
>
> Changes in v6: None
> 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                      |   3 +
>  arch/sandbox/dts/sandbox.dtsi     |  14 ++
>  arch/sandbox/dts/test.dts         |  14 ++
>  arch/sandbox/include/asm/test.h   |   1 +
>  cmd/Kconfig                       |   8 +
>  cmd/Makefile                      |   1 +
>  cmd/pmc.c                         |  81 ++++++++++
>  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 ++++
>  14 files changed, 510 insertions(+)
>  create mode 100644 cmd/pmc.c
>  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
>

applied to u-boot-x86/next, thanks!

Reply via email to