[PATCH v1 32/43] pmc: Move common registers to the header file

Bin Meng bmeng.cn at gmail.com
Tue Jun 30 10:27:13 CEST 2020


Hi Simon,

On Mon, Jun 15, 2020 at 11:58 AM Simon Glass <sjg at chromium.org> wrote:
>
> These registers need to be accesses from ACPI code, so move them to the
> header file.
>

I don't think these are common offset to every platform.

> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/power/acpi_pmc/acpi-pmc-uclass.c |  9 ---------
>  include/power/acpi_pmc.h                 | 14 ++++++++++++++
>  2 files changed, 14 insertions(+), 9 deletions(-)
>

Regards,
Bin


More information about the U-Boot mailing list