mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-25 20:53:25 +08: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>
30 lines
436 B
C
30 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
|