summaryrefslogtreecommitdiff
path: root/include/iomux.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-02-11 18:09:43 +0300
committerTom Rini <trini@konsulko.com>2021-02-16 19:16:08 +0300
commit694cd5618c2ee263c025462e780354f28313b7a3 (patch)
tree39fea42225c6db8e171c59533daa5c7ec9945838 /include/iomux.h
parent400797cad36850797307be3c56d2d5bc16aa02bb (diff)
downloadu-boot-694cd5618c2ee263c025462e780354f28313b7a3.tar.xz
IOMUX: Introduce iomux_replace_device()
Some console devices may appear or disappear at run time. In order to support such a hotplug mechanism introduce a new iomux_replace_device() helper to update the list of devices without altering environment. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/iomux.h')
-rw-r--r--include/iomux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/iomux.h b/include/iomux.h
index bd4a143b1e..37f5f6dee6 100644
--- a/include/iomux.h
+++ b/include/iomux.h
@@ -31,6 +31,7 @@ extern int cd_count[MAX_FILES];
int iomux_match_device(struct stdio_dev **, const int, struct stdio_dev *);
int iomux_doenv(const int, const char *);
+int iomux_replace_device(const int, const char *, const char *);
void iomux_printdevs(const int);
#endif /* _IO_MUX_H */