Logo
Explore Help
Sign In
linux-sunxi/u-boot-sunxi
1
0
Fork 0
You've already forked u-boot-sunxi
mirror of https://github.com/linux-sunxi/u-boot-sunxi.git synced 2024-02-12 11:16:03 +08:00
Code Issues Projects Releases Wiki Activity
Files
05e35d26dbd18bbe896d361be7929749812059c8
u-boot-sunxi/include/dt-structs.h

20 lines
311 B
C
Raw Normal View History

dm: Add a header that provides access to the of-platdata structs This header can be included from anywhere, but will only pull in the of-platdata struct definitions when this feature is enabled (and only in SPL). Signed-off-by: Simon Glass <sjg@chromium.org>
2016-07-04 11:58:02 -06:00
/*
* Copyright (c) 2016 Google, Inc
*
* SPDX-License-Identifier: GPL-2.0+
*/
dm: Fix typo in include-guard for dm-structs.h The include-guard for dm-structs.h was misspelled as __DT_STTUCTS. Change it. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2017-07-11 23:30:07 +02:00
#ifndef __DT_STRUCTS
#define __DT_STRUCTS
dm: Add a header that provides access to the of-platdata structs This header can be included from anywhere, but will only pull in the of-platdata struct definitions when this feature is enabled (and only in SPL). Signed-off-by: Simon Glass <sjg@chromium.org>
2016-07-04 11:58:02 -06:00
/* These structures may only be used in SPL */
#if CONFIG_IS_ENABLED(OF_PLATDATA)
struct phandle_2_cell {
const void *node;
int id;
};
#include <generated/dt-structs.h>
#endif
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 443ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API