aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-19 10:40:04 -0700
committerSimon Glass <sjg@chromium.org>2021-01-05 12:24:41 -0700
commit6a2350f8c9d60f318b3ffff3231b4ca891957da4 (patch)
tree8e1e1686cf25e3d728e89a31f6ee36b97a673060 /arch
parent6563b205eb65653e8fe0d3f92106ec37d28a4af7 (diff)
downloadu-boot-6a2350f8c9d60f318b3ffff3231b4ca891957da4.zip
u-boot-6a2350f8c9d60f318b3ffff3231b4ca891957da4.tar.gz
u-boot-6a2350f8c9d60f318b3ffff3231b4ca891957da4.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/sysreset.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/x86/include/asm/sysreset.h b/arch/x86/include/asm/sysreset.h
new file mode 100644
index 0000000..5e586f5
--- /dev/null
+++ b/arch/x86/include/asm/sysreset.h
@@ -0,0 +1,18 @@
+/* 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_ */