u-boot-brain/arch/x86/include/asm/sysreset.h
Simon Glass 6a2350f8c9 x86: sysreset: Move priv/plat structs to headers
With the new of-platdata, these need to be available to dt_platdata.c
so must be in header files. Move them and add the dtd struct too.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2021-01-05 12:24:41 -07:00

19 lines
320 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright 2020 Google LLC
*/
#ifndef _X86_ASM_SYSRESET_H_
#define _X86_ASM_SYSRESET_H_
#include <dt-structs.h>
struct x86_sysreset_plat {
#if CONFIG_IS_ENABLED(OF_PLATDATA)
struct dtd_x86_reset dtplat;
#endif
struct udevice *pch;
};
#endif /* _X86_ASM_SYSRESET_H_ */