mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
dtoc: Rename the phandle struct
Rather than naming the phandle struct according to the number of cells it uses (e.g. struct phandle_2_cell) name it according to the number of arguments it has (e.g. struct phandle_1_arg). This is a more intuitive naming. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
8fed2eb20c
commit
0d15463c05
6 changed files with 13 additions and 7 deletions
|
@ -9,7 +9,12 @@
|
|||
|
||||
/* These structures may only be used in SPL */
|
||||
#if CONFIG_IS_ENABLED(OF_PLATDATA)
|
||||
struct phandle_2_cell {
|
||||
struct phandle_0_arg {
|
||||
const void *node;
|
||||
int id[0];
|
||||
};
|
||||
|
||||
struct phandle_1_arg {
|
||||
const void *node;
|
||||
int id;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue