commit | c20847f4314dc14e3d48f74f6dc86f4344ea8532 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Fri Dec 18 12:46:45 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 15 14:36:12 2021 -0500 |
tree | 0d76785f5ca211b8ef0b477b5ddeaadffc167321 | |
parent | 7c5f6edafe444d725c539737877485eb22cb459e [diff] |
console: remove #ifdef CONFIG_CONSOLE_RECORD Add helper functions to access to gd->console_out and gd->console_in with membuff API and replace the #ifdef CONFIG_CONSOLE_RECORD test by if (IS_ENABLED(CONFIG_CONSOLE_RECORD)) to respect the U-Boot coding rule. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Simon Glass <sjg@chromium.org>