diff options
author | Tom Rini <trini@konsulko.com> | 2021-02-16 15:14:34 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-02-16 15:14:34 -0500 |
commit | 496f49464d90b564da5f1a2f4eecb5553e01edf9 (patch) | |
tree | e084452c2b7e9f2d0ede789aa840e9e3ae2338ed /include/stdio_dev.h | |
parent | 767582cd4c755c52bce3e1813bc462f37047cb5c (diff) | |
parent | d003434525767145d152b54573ef8e030b63a6fe (diff) |
Merge branch '2021-02-16-assorted-improvements'
- DSA switch support (Layerscape platforms)
- IOMUX cleanup / fixes
- i2c OP-TEE trampoline driver
Diffstat (limited to 'include/stdio_dev.h')
-rw-r--r-- | include/stdio_dev.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/stdio_dev.h b/include/stdio_dev.h index 48871a6a22b..8fb9a12dd87 100644 --- a/include/stdio_dev.h +++ b/include/stdio_dev.h @@ -18,6 +18,8 @@ #define DEV_FLAGS_OUTPUT 0x00000002 /* Device can be used as output console */ #define DEV_FLAGS_DM 0x00000004 /* Device priv is a struct udevice * */ +int stdio_file_to_flags(const int file); + /* Device information */ struct stdio_dev { int flags; /* Device flags: input/output/system */ @@ -83,7 +85,6 @@ int stdio_add_devices(void); int stdio_init(void); void stdio_print_current_devices(void); -int stdio_deregister(const char *devname, int force); /** * stdio_deregister_dev() - deregister the device "devname". |