mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 02:08:38 +00:00
b145b45b0c
The filename of the auto-generated file is the same as the file that includes it. Even though the form is in the generated/ subdirectory, this could be confused. Rename the generated file to something that makes it clear it is auto-generated. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Kever Yang <kever.yang@rock-chips.com>
29 lines
436 B
C
29 lines
436 B
C
/*
|
|
* Copyright (c) 2016 Google, Inc
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __DT_STRUCTS
|
|
#define __DT_STRUCTS
|
|
|
|
/* These structures may only be used in SPL */
|
|
#if CONFIG_IS_ENABLED(OF_PLATDATA)
|
|
struct phandle_0_arg {
|
|
const void *node;
|
|
int arg[0];
|
|
};
|
|
|
|
struct phandle_1_arg {
|
|
const void *node;
|
|
int arg[1];
|
|
};
|
|
|
|
struct phandle_2_arg {
|
|
const void *node;
|
|
int arg[2];
|
|
};
|
|
#include <generated/dt-structs-gen.h>
|
|
#endif
|
|
|
|
#endif
|