mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-18 16:08:53 +09:00
![Simon Glass](/assets/img/avatar_default.png)
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
|